:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #56616f;
  --paper: #f7f4ed;
  --panel: #ffffff;
  --line: rgba(23, 32, 42, 0.14);
  --teal: #107f7d;
  --amber: #d6942d;
  --coral: #c95d53;
  --charcoal: #111821;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  color: #fffaf1;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  opacity: 0.88;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: var(--charcoal);
  color: #fffaf1;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 33, 0.94) 0%, rgba(17, 24, 33, 0.78) 34%, rgba(17, 24, 33, 0.2) 72%),
    linear-gradient(0deg, rgba(17, 24, 33, 0.75) 0%, rgba(17, 24, 33, 0.08) 42%),
    url("/assets/hero.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(132px, 20vh, 190px) 0 88px;
}

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

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

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

h3 {
  margin: 16px 0 8px;
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(255, 250, 241, 0.84);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

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

.button-primary {
  background: var(--amber);
  color: #17130c;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fffaf1;
}

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

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

.proof-item:last-child {
  border-right: 0;
}

.proof-item span,
.service-icon {
  color: var(--teal);
  font-weight: 900;
}

.proof-item strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1.25rem;
}

.proof-item p,
.service-card p,
.rich-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 120px) 0;
}

.section-heading {
  max-width: 820px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.service-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(16, 127, 125, 0.28);
  background: rgba(16, 127, 125, 0.08);
  font-size: 0.8rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(28px, 7vw, 90px);
  border-top: 1px solid var(--line);
}

.rich-copy {
  display: grid;
  gap: 18px;
  font-size: 1.15rem;
}

.site-footer {
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 46px;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.site-footer .button-primary {
  color: #17130c;
}

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

  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(17, 24, 33, 0.95) 0%, rgba(17, 24, 33, 0.72) 58%, rgba(17, 24, 33, 0.26) 100%),
      url("/assets/hero.png") 64% center / cover no-repeat;
  }

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

  .proof-band,
  .service-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

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

  .proof-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: grid;
  }

  .hero-actions .button,
  .site-footer .button {
    width: 100%;
  }
}
