:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #5c6862;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #d9ded8;
  --green: #215c4f;
  --green-2: #2f7664;
  --blue: #345c86;
  --gold: #b47a34;
  --shadow: 0 24px 70px rgba(29, 42, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 32, 28, 0.08);
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 720;
}

nav {
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
}

nav a,
.site-footer a {
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) clamp(44px, 7vw, 84px);
  border-bottom: 1px solid rgba(23, 32, 28, 0.08);
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

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

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

h1 {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 10vw, 8rem);
  line-height: 0.88;
  font-weight: 500;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  margin: 0;
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.14rem, 2vw, 1.35rem);
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 720;
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--green-2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.visual {
  position: relative;
  min-width: 0;
  min-height: 520px;
  display: grid;
  align-items: center;
}

.visual::before {
  content: "";
  position: absolute;
  inset: 6% -5% 0 12%;
  background:
    linear-gradient(120deg, rgba(33, 92, 79, 0.18), rgba(180, 122, 52, 0.1)),
    repeating-linear-gradient(90deg, rgba(23, 32, 28, 0.08) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(23, 32, 28, 0.06) 0 1px, transparent 1px 54px);
  transform: rotate(-2deg);
}

.visual-grid {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 14px;
  align-items: stretch;
}

.pane {
  position: relative;
  min-height: 150px;
  border: 1px solid rgba(23, 32, 28, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pane.large {
  min-height: 320px;
  grid-row: span 2;
  padding: 28px;
}

.pane.small {
  padding: 22px;
}

.pane.metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.pane.metric.accent {
  background: #f5efe6;
}

.pane-title,
.metric-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.metric-value {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
}

.line {
  display: block;
  height: 10px;
  margin-top: 24px;
  border-radius: 999px;
  background: #dce5de;
}

.line.w80 {
  width: 80%;
}

.line.w55 {
  width: 55%;
}

.line.w70 {
  width: 70%;
}

.node {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 12px solid rgba(33, 92, 79, 0.12);
  border-radius: 50%;
  background: white;
}

.node.one {
  left: 16%;
  bottom: 24%;
}

.node.two {
  right: 18%;
  bottom: 34%;
  border-color: rgba(52, 92, 134, 0.14);
}

.node.three {
  right: 34%;
  bottom: 14%;
  border-color: rgba(180, 122, 52, 0.18);
}

.step {
  display: block;
  height: 12px;
  margin-top: 18px;
  border-radius: 999px;
  background: #e3e7e3;
}

.step.active {
  width: 76%;
  background: var(--green);
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

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

.focus-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--paper);
}

.focus-grid p,
.approach-list p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: clamp(32px, 8vw, 120px);
  border-top: 1px solid rgba(23, 32, 28, 0.08);
}

.approach-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.approach-list p {
  padding: 22px;
  background: var(--paper);
  font-size: 1.08rem;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(23, 32, 28, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    max-width: 100vw;
    overflow: hidden;
  }

  .visual {
    min-height: 420px;
  }

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

@media (max-width: 560px) {
  .site-header {
    max-width: 100vw;
    overflow: hidden;
  }

  .brand span {
    font-size: 0.96rem;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 22px;
  }

  .hero-copy,
  .actions,
  .visual,
  .visual-grid {
    width: 100%;
    max-width: 100%;
  }

  .lead {
    max-width: 30ch;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.6rem, 15vw, 4.35rem);
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .visual::before {
    inset: 6% 0 0 0;
  }

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

  .pane.large {
    min-height: 260px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
