:root {
  --ink: #18211f;
  --muted: #5e6a66;
  --paper: #f8f5ed;
  --paper-soft: #eee9dd;
  --river: #2d7186;
  --sage: #7c967f;
  --clay: #b96f4a;
  --line: rgba(24, 33, 31, 0.14);
}

* {
  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: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(24, 33, 31, 0.1);
  background: rgba(248, 245, 237, 0.9);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(24, 33, 31, 0.18);
  border-radius: 8px;
  background: var(--ink);
  color: #fffaf0;
  font-size: 15px;
}

nav {
  gap: clamp(12px, 3vw, 28px);
  font-size: 14px;
  font-weight: 650;
}

nav a {
  opacity: 0.72;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px clamp(18px, 5vw, 72px) 72px;
  color: #fffaf0;
}

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

.hero-image {
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 22, 20, 0.92) 0%, rgba(14, 22, 20, 0.7) 36%, rgba(14, 22, 20, 0.2) 70%),
    linear-gradient(180deg, rgba(14, 22, 20, 0.24) 0%, rgba(14, 22, 20, 0.1) 62%, var(--paper) 100%);
}

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

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

.hero .eyebrow {
  color: #e8ad82;
}

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

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 128px;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.86);
  font-size: 21px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 760;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.primary {
  background: #fffaf0;
  color: #17211f;
}

.secondary {
  border-color: rgba(255, 250, 240, 0.48);
  color: #fffaf0;
  background: rgba(255, 250, 240, 0.08);
}

.dark {
  background: var(--ink);
  color: #fffaf0;
}

.decoy {
  display: none;
}

.section,
.split-section,
.contact-band {
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 72px);
}

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

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

.service {
  min-height: 270px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
}

.service-number {
  display: block;
  margin-bottom: 72px;
  color: var(--river);
  font-weight: 800;
}

.service p,
.principles,
.contact-band p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: clamp(36px, 8vw, 92px);
  background:
    linear-gradient(180deg, rgba(45, 113, 134, 0.07), rgba(124, 150, 127, 0.1)),
    var(--paper-soft);
}

.principles {
  font-size: 19px;
}

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

.principles li {
  padding-left: 22px;
  border-left: 3px solid var(--sage);
  color: var(--ink);
  font-weight: 700;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.contact-band h2 {
  max-width: 760px;
}

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

  nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    align-items: end;
  }

  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(14, 22, 20, 0.44) 0%, rgba(14, 22, 20, 0.7) 42%, rgba(14, 22, 20, 0.92) 82%, var(--paper) 100%),
      linear-gradient(90deg, rgba(14, 22, 20, 0.72), rgba(14, 22, 20, 0.2));
  }

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

  .service {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 34px;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .hero {
    padding-bottom: 58px;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 36px;
  }
}
