:root {
  --ink: #17201e;
  --muted: #5c6965;
  --paper: #f8f6f1;
  --white: #ffffff;
  --evergreen: #16302f;
  --teal: #1f6b68;
  --brass: #b08b4f;
  --clay: #9d5b45;
  --line: rgba(23, 32, 30, 0.14);
  --shadow: 0 20px 60px rgba(18, 30, 29, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(248, 246, 241, 0.96);
  box-shadow: 0 8px 32px rgba(18, 30, 29, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 230px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

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

.brand small {
  color: currentColor;
  opacity: 0.74;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  font-size: 0.94rem;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--brass);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  border: 1px solid currentColor;
  font-size: 0.9rem;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 8rem clamp(1rem, 5vw, 4rem) 4rem;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 24, 23, 0.9) 0%, rgba(12, 24, 23, 0.58) 43%, rgba(12, 24, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 24, 23, 0.6), transparent 44%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

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

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

h1,
h2,
h3 {
  line-height: 1.06;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 500;
}

h2 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 500;
}

h3 {
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button.primary {
  color: var(--ink);
  background: var(--white);
}

.button.primary.dark {
  color: var(--white);
  background: var(--evergreen);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

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

.section-grid,
.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

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

.section-heading {
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 300px;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 30, 29, 0.07);
}

.card-number {
  display: inline-block;
  margin-bottom: 4.5rem;
  color: var(--clay);
  font-weight: 800;
}

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

.band {
  background: var(--evergreen);
  color: var(--white);
}

.band .eyebrow,
.band .timeline-item span {
  color: #d9b36f;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.timeline-item {
  min-height: 220px;
  padding: 1.35rem;
  background: var(--evergreen);
}

.timeline-item span {
  display: block;
  margin-bottom: 3rem;
  font-weight: 800;
}

.industry-list {
  display: grid;
  gap: 0.75rem;
}

.industry-list span,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 30, 29, 0.06);
}

.industry-list span {
  padding: 1rem 1.1rem;
  font-weight: 700;
}

.quote-band {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), #263f61 52%, var(--clay));
}

.quote-band blockquote {
  max-width: 900px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.6rem);
  line-height: 1.08;
}

.contact-panel {
  display: grid;
  gap: 0.8rem;
  padding: 1.4rem;
}

.contact-panel a {
  display: block;
  padding: 1rem;
  color: var(--evergreen);
  background: #eef3f0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.not-found .section {
  width: min(720px, 100%);
}

.not-found h1 {
  color: var(--evergreen);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-header.menu-open .nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0;
    padding: 0.6rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav a {
    padding: 0.9rem 1rem;
  }

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

  .section-grid,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 6.5rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 24, 23, 0.92), rgba(12, 24, 23, 0.55)),
      linear-gradient(0deg, rgba(12, 24, 23, 0.76), transparent 50%);
  }

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

  .service-card {
    min-height: 240px;
  }

  .card-number,
  .timeline-item span {
    margin-bottom: 2rem;
  }

  .site-footer {
    display: grid;
  }
}
