:root {
  --ink: #102127;
  --muted: #5c6c72;
  --paper: #f8faf8;
  --white: #ffffff;
  --line: #dfe7e4;
  --teal: #0f5f68;
  --teal-dark: #0f2d34;
  --rust: #be543c;
  --gold: #d8a94d;
  --green: #6d8b72;
  --shadow: 0 18px 45px rgba(16, 33, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(248, 250, 248, 0.92);
  border-bottom: 1px solid rgba(223, 231, 228, 0.84);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--teal-dark);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--rust));
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--teal-dark);
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--rust);
  background: rgba(15, 95, 104, 0.08);
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  content: "";
}

.nav-toggle-bars::before {
  transform: translateY(-7px);
}

.nav-toggle-bars::after {
  transform: translateY(5px);
}

.hero {
  position: relative;
  min-height: clamp(520px, 78svh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--teal-dark);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 28, 33, 0.88), rgba(9, 28, 33, 0.58) 44%, rgba(9, 28, 33, 0.20)),
    linear-gradient(0deg, rgba(9, 28, 33, 0.30), rgba(9, 28, 33, 0));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding: 64px 0;
}

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

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

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

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

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

.button.primary:hover {
  background: #a84631;
}

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

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

#services,
#approach,
#contact {
  scroll-margin-top: 88px;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.split,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.intro {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 290px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(16, 33, 39, 0.06);
}

.service-card:nth-child(2) {
  border-top-color: var(--rust);
}

.service-card:nth-child(3) {
  border-top-color: var(--green);
}

.service-card:nth-child(4) {
  border-top-color: var(--gold);
}

.service-index {
  display: block;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 42px 0 14px;
  color: var(--teal-dark);
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-card p {
  font-size: 0.98rem;
}

.proof {
  background: #edf3f1;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.proof-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-image img {
  width: 100%;
  height: auto;
}

.proof-content {
  display: grid;
  gap: 22px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--rust);
  content: "";
}

.contact {
  color: var(--white);
  background: var(--teal-dark);
}

.contact .section-kicker,
.contact h2,
.contact p {
  color: var(--white);
}

.contact-panel {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-link {
  width: fit-content;
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-layout,
  .split,
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .brand {
    font-size: 0.98rem;
    min-width: 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    border-color: #b8c8c4;
    background: #edf3f1;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(9, 28, 33, 0.90), rgba(9, 28, 33, 0.54));
  }

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

  .hero-copy {
    max-width: 31ch;
    font-size: 1.06rem;
    line-height: 1.48;
  }

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

  .service-card {
    min-height: 0;
  }

  .service-card h3 {
    margin-top: 24px;
  }

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