:root {
  --ink: #16211f;
  --muted: #5b6965;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #d9dfd8;
  --forest: #1c6a54;
  --blue: #245a84;
  --clay: #b55f3f;
  --gold: #d6a94d;
  --shadow: 0 18px 48px rgba(22, 33, 31, 0.14);
}

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

a {
  color: inherit;
}

.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(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(217, 223, 216, 0.85);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--forest);
  border-radius: 8px;
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.14);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover {
  color: var(--forest);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 72px));
  align-items: center;
  overflow: hidden;
  background: #1b2724;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 27, 25, 0.86) 0%, rgba(17, 27, 25, 0.6) 42%, rgba(17, 27, 25, 0.16) 100%),
    linear-gradient(0deg, rgba(17, 27, 25, 0.36), rgba(17, 27, 25, 0.04));
}

.hero-content {
  position: relative;
  width: min(940px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 88px);
  padding: 86px 0 120px;
  color: white;
}

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

.hero .eyebrow {
  color: #f1c56e;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.5rem, 12vw, 8.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.lede {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2.6vw, 1.42rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

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

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

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

.hero .button.primary {
  background: #f1c56e;
  color: #1b2724;
}

.button.secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 104px) 0;
}

.intro,
.split,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: start;
}

.intro p:last-child,
.about-copy {
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service {
  min-height: 260px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(22, 33, 31, 0.05);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 32px;
  margin-bottom: 42px;
  place-items: center;
  color: var(--surface);
  background: var(--blue);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 850;
}

.service:nth-child(2) .service-icon {
  background: var(--forest);
}

.service:nth-child(3) .service-icon {
  background: var(--clay);
}

.service p,
.legal-content p {
  color: var(--muted);
}

.details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.detail-list div {
  min-height: 132px;
  padding: 20px;
  background: var(--surface);
}

dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 750;
}

.contact-band {
  align-items: center;
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #edf2ed;
  border-top: 1px solid var(--line);
}

.text-link {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  font-weight: 750;
  text-decoration: none;
}

.legal-page {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
}

.legal-hero {
  padding: clamp(58px, 9vw, 112px) 0 44px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  color: var(--ink);
  font-size: clamp(3rem, 9vw, 6.8rem);
}

.legal-hero p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
}

.legal-content {
  padding: 44px 0 96px;
}

.legal-content h2 {
  margin: 34px 0 8px;
  font-size: 1.42rem;
  line-height: 1.25;
}

.legal-content h2:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-content {
    padding: 72px 0 100px;
  }

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

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

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

  .hero {
    min-height: 690px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(17, 27, 25, 0.9), rgba(17, 27, 25, 0.5));
  }

  .button {
    width: 100%;
  }
}
