:root {
  color-scheme: light;
  --ink: #172018;
  --muted: #667062;
  --paper: #f7f4ec;
  --panel: #fffdf7;
  --line: #d8d0bd;
  --green: #214331;
  --green-2: #2f6549;
  --gold: #b48735;
  --rust: #a6502c;
  --blue: #264968;
}

* {
  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;
  letter-spacing: 0;
}

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(247, 244, 236, 0.94);
  border-bottom: 1px solid rgba(23, 32, 24, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fffdf7;
  background: var(--green);
  border-radius: 6px;
  font-size: 12px;
}

nav {
  gap: clamp(10px, 2vw, 22px);
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

.nav-cta {
  color: var(--ink);
  font-weight: 700;
}

.slide {
  min-height: 86vh;
  padding: clamp(56px, 9vw, 112px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 32, 24, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(90deg, rgba(247, 244, 236, 0.96) 0%, rgba(247, 244, 236, 0.72) 58%, rgba(247, 244, 236, 0.28) 100%),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.9;
  font-weight: 700;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.hero-lede {
  max-width: 660px;
  color: #334033;
  font-size: clamp(21px, 3vw, 34px);
  line-height: 1.25;
}

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

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary,
.contact-form button {
  color: #fffdf7;
  background: var(--green);
}

.secondary {
  color: var(--green);
  background: rgba(255, 253, 247, 0.74);
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(23, 32, 24, 0.13);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(23, 32, 24, 0.14);
}

.metric {
  display: block;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.content-stack {
  display: grid;
  gap: 26px;
}

.insight-grid,
.strategy-grid,
.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.insight-grid article,
.strategy-grid article,
.terms-grid article {
  min-height: 220px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-kicker,
.step-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dark {
  color: #fffdf7;
  background: var(--green);
}

.dark p {
  color: rgba(255, 253, 247, 0.74);
}

.dark .eyebrow,
.dark .step-number {
  color: #d2ad64;
}

.section-heading {
  max-width: 960px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.strategy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.strategy-grid article {
  background: rgba(255, 253, 247, 0.08);
  border-color: rgba(255, 253, 247, 0.16);
}

.timeline {
  display: grid;
  gap: 16px;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 18px;
  align-items: start;
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fffdf7;
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.timeline-item p,
.timeline-item h3 {
  margin-bottom: 0;
}

.process-widget {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-widget p {
  margin-bottom: 0;
}

.process-widget .contact-form {
  gap: 14px;
}

.process-widget .contact-form label {
  color: var(--green);
}

.process-widget .contact-form input,
.process-widget .contact-form textarea {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.process-widget .contact-form input::placeholder,
.process-widget .contact-form textarea::placeholder {
  color: rgba(102, 112, 98, 0.68);
}

.process-widget .contact-form button {
  border-color: var(--green);
}

.case-study {
  min-height: auto;
}

.deal-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-photo {
  min-height: 420px;
  background:
    linear-gradient(0deg, rgba(23, 32, 24, 0.24), rgba(23, 32, 24, 0)),
    url("https://images.unsplash.com/photo-1572120360610-d971b9d7767c?auto=format&fit=crop&w=1200&q=82");
  background-position: center;
  background-size: cover;
}

.deal-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deal-metrics div {
  min-height: 180px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.deal-metrics span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.deal-metrics strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
}

.terms {
  min-height: auto;
  background: #efe7d5;
}

.terms-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.terms-grid article {
  min-height: 190px;
}

.quote-block {
  padding: 28px;
  color: var(--green);
  background: var(--panel);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.18;
}

.contact {
  display: grid;
  min-height: auto;
  color: #fffdf7;
  background: var(--blue);
}

.contact > div {
  max-width: 900px;
}

.contact p {
  color: rgba(255, 253, 247, 0.76);
}

.contact .eyebrow {
  color: #e1bb70;
}

.contact-form {
  display: grid;
  gap: 16px;
  align-self: start;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 253, 247, 0.86);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  color: #fffdf7;
  background: rgba(255, 253, 247, 0.1);
  border: 1px solid rgba(255, 253, 247, 0.22);
  border-radius: 6px;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 253, 247, 0.48);
}

.contact-form button {
  width: fit-content;
  border-color: #fffdf7;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .process-grid,
  .contact,
  .deal-card {
    grid-template-columns: 1fr;
  }

  .strategy-grid,
  .terms-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deal-photo {
    min-height: 300px;
  }
}

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

  nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .slide {
    min-height: auto;
    padding: 48px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .strategy-grid,
  .terms-grid,
  .insight-grid,
  .deal-metrics {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .insight-grid article,
  .strategy-grid article,
  .terms-grid article,
  .timeline-item {
    padding: 18px;
  }

  .deal-metrics div {
    min-height: 132px;
    border-left: 0;
  }
}
