:root {
  --ink: #101010;
  --ink-soft: #2a2a2a;
  --muted: #6f6f6f;
  --paper: #ffffff;
  --soft: #f7f3e8;
  --line: #e7e0d2;
  --gold: #f6d64a;
  --gold-deep: #c29a12;
  --charcoal: #171717;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(16px, calc((100vw - 1160px) / 2));
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(16, 16, 16, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.site-nav a:hover,
.site-nav a:focus {
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #fff;
  font-size: 1.7rem;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(16, 16, 16, 0.96), rgba(16, 16, 16, 0.74)),
    url("../img/sdi-road-assessment.png") center/cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(246, 214, 74, 0.28), transparent 26%),
    linear-gradient(90deg, rgba(16, 16, 16, 0.78), rgba(16, 16, 16, 0.28));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  gap: 54px;
  align-items: center;
  padding: 140px 0 72px;
}

.hero-copy,
.hero-card,
.two-column > *,
.contact-grid > * {
  min-width: 0;
}

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

.eyebrow.dark {
  color: var(--gold-deep);
}

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

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.8rem);
  line-height: 0.97;
  letter-spacing: 0;
}

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

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.22;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-outline {
  color: #fff;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
}

.hero-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-card h2 {
  margin-top: 20px;
  font-size: 1.8rem;
}

.hero-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.quick-facts {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
}

.quick-facts li {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 10px;
}

.trust-band {
  background: var(--gold);
  color: var(--ink);
}

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

.trust-grid > div {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.16);
}

.trust-grid span {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-grid strong {
  font-size: 1.26rem;
  line-height: 1.15;
}

.trust-grid img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.section {
  padding: 100px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  background: var(--charcoal);
  color: #fff;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
}

.body-copy {
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.body-copy p:first-child {
  margin-top: 0;
}

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

.section-heading.light h2 {
  color: #fff;
}

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

.service-card {
  min-height: 300px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.service-card i {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-size: 1.8rem;
}

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

.service-card:hover p {
  color: rgba(255, 255, 255, 0.76);
}

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

.project-card {
  overflow: hidden;
  background: #fff;
  color: var(--ink);
}

.project-card.feature {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-card div {
  padding: 24px;
}

.project-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.text-link {
  display: inline-flex;
  margin-top: 24px;
  border-bottom: 2px solid var(--gold-deep);
  color: var(--ink);
  font-weight: 800;
}

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

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

.timeline-item span {
  color: var(--gold-deep);
  font-size: 1.8rem;
  font-weight: 800;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.stats {
  background: var(--ink);
  color: #fff;
  padding: 58px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stats-grid div {
  display: grid;
  gap: 8px;
}

.stats-grid strong {
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stats-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
  gap: 54px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.contact-card a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 18px 22px;
  background: #fff;
  font-weight: 800;
}

.contact-card i {
  color: var(--gold-deep);
  font-size: 1.6rem;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 26px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid,
  .stats-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card.feature {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 48px);
  }

  .site-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 30px;
    padding: 116px 0 48px;
  }

  .hero-copy,
  .hero-copy h1,
  .hero-lede {
    width: 100%;
    max-width: min(320px, calc(100vw - 56px));
  }

  h1 {
    font-size: clamp(1.65rem, 7.6vw, 1.95rem);
    line-height: 1.08;
  }

  .hero-lede {
    font-size: 0.96rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .service-grid,
  .project-grid,
  .stats-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

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