:root {
  color-scheme: light;
  --ink: #111417;
  --muted: #5f6872;
  --paper: #f7f5ef;
  --white: #ffffff;
  --line: #d9d5c8;
  --teal: #0d7b78;
  --teal-dark: #064b4a;
  --amber: #d99a2b;
  --coral: #c94d3f;
  --charcoal: #15191d;
  --shadow: 0 24px 70px rgba(17, 20, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.82), rgba(10, 12, 14, 0));
}

.brand,
.nav-links,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-cta {
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.button {
  padding: 0 22px;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(13, 123, 120, 0.26);
}

.primary:hover {
  background: var(--teal-dark);
}

.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 6vw, 82px) 86px;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 8, 0.92) 0%, rgba(4, 6, 8, 0.72) 37%, rgba(4, 6, 8, 0.22) 100%),
    linear-gradient(0deg, rgba(4, 6, 8, 0.45), rgba(4, 6, 8, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

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

h3 {
  margin: 0;
  font-size: 1.1rem;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.metric {
  min-height: 128px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.metric span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.section-shell,
.split-section,
.contact-band {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 6vw, 82px);
}

.section-heading {
  width: min(780px, 100%);
}

.section-heading p:not(.eyebrow),
.split-section p,
.contact-band p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

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

.project-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 20, 23, 0.06);
}

.project-card.featured {
  background: var(--charcoal);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.project-card.featured p,
.project-card.featured .project-meta {
  color: rgba(255, 255, 255, 0.72);
}

.project-top {
  display: grid;
  gap: 16px;
}

.project-meta {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.project-link {
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--amber);
}

.project-card.featured .project-link {
  color: var(--white);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 82px);
  background: var(--white);
}

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

.service-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.service-list p {
  grid-column: 2;
  margin: -8px 0 0;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--white);
  background: var(--coral);
  font-weight: 800;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--white);
  background: var(--charcoal);
}

.contact-band > div {
  width: min(760px, 100%);
}

.contact-band p {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 82px);
  color: var(--muted);
  background: var(--white);
}

.site-footer a {
  font-weight: 800;
  color: var(--teal-dark);
}

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

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 88vh;
    padding-top: 114px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 6, 8, 0.92), rgba(4, 6, 8, 0.52)),
      linear-gradient(0deg, rgba(4, 6, 8, 0.52), rgba(4, 6, 8, 0.12));
  }

  .intro-band,
  .project-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 520px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: clamp(3.1rem, 19vw, 5.5rem);
  }

  .button {
    width: 100%;
  }

  .project-card {
    min-height: 280px;
  }

  .service-list article {
    grid-template-columns: 1fr;
  }

  .service-list p {
    grid-column: auto;
    margin-top: -4px;
  }

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