:root {
  --ink: #102f35;
  --muted: #627476;
  --paper: #fbfcfb;
  --white: #ffffff;
  --line: #dfe7e5;
  --forest: #123c44;
  --teal: #2b807d;
  --amber: #d4a64a;
  --clay: #9c6a2b;
  --mist: #eef7f5;
  --shadow: 0 22px 70px rgba(16, 47, 53, 0.13);
}

* {
  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.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(8, 28, 32, 0.76), rgba(8, 28, 32, 0));
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  max-width: min(50vw, 470px);
}

.brand span:last-child {
  overflow-wrap: anywhere;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand-mark img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

nav {
  gap: clamp(14px, 2.3vw, 30px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 650;
}

nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 30, 35, 0.9) 0%, rgba(8, 30, 35, 0.7) 43%, rgba(8, 30, 35, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 47, 53, 0.76) 0%, rgba(16, 47, 53, 0.04) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(850px, calc(100% - 36px));
  padding: 118px 0 58px clamp(18px, 6vw, 72px);
  color: var(--white);
}

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

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

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(2.85rem, 5.5vw, 4.85rem);
  line-height: 1;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.16;
  letter-spacing: 0;
}

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

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 760;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

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

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact .button.primary {
  background: var(--teal);
}

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

.signal-bar div {
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
}

.signal-bar strong {
  display: block;
  color: var(--forest);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.signal-bar span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.section-heading,
.results,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.intro p,
.section-heading p,
.contact p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.services {
  background: var(--mist);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 285px;
  padding: 26px;
  background: var(--white);
}

.card-index {
  display: block;
  margin-bottom: 48px;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 820;
}

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

.approach {
  background: var(--forest);
  color: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline article {
  min-height: 260px;
  padding: 28px;
  background: #164b55;
}

.timeline span {
  display: inline-block;
  margin-bottom: 62px;
  color: #e8c16c;
  font-weight: 820;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  background: #f7f4ec;
}

.contact a,
footer a {
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 740;
}

input,
textarea {
  width: 100%;
  border: 1px solid #ccd5d0;
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(47, 130, 116, 0.16);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #0b272c;
}

footer span:first-child {
  color: var(--white);
  font-weight: 780;
}

footer a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    color: var(--ink);
    background: rgba(251, 250, 246, 0.92);
    box-shadow: 0 8px 28px rgba(18, 35, 38, 0.08);
  }

  .brand-mark {
    border-color: rgba(18, 35, 38, 0.2);
    background: rgba(255, 255, 255, 0.96);
  }

  nav {
    color: var(--muted);
  }

  .hero-content {
    padding-top: 156px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    display: grid;
    gap: 14px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 30, 35, 0.92) 0%, rgba(8, 30, 35, 0.62) 100%),
      linear-gradient(0deg, rgba(16, 47, 53, 0.88) 0%, rgba(16, 47, 53, 0.12) 58%);
  }

  .hero-content {
    width: min(100% - 28px, 620px);
    padding: 178px 0 54px 14px;
  }

  h1 {
    font-size: 2.58rem;
  }

  .button {
    width: 100%;
  }

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

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

  .card-index,
  .timeline span {
    margin-bottom: 34px;
  }

  footer {
    display: grid;
  }
}
