:root {
  color-scheme: light;
  --bg: #f5f1ea;
  --paper: #fffdf8;
  --ink: #171d1a;
  --muted: #667068;
  --soft: #e8ddd1;
  --line: rgba(28, 34, 30, 0.14);
  --accent: #8d4c37;
  --accent-2: #2f6f62;
  --accent-3: #c7a66f;
  --shadow: 0 24px 70px rgba(55, 46, 35, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(141, 76, 55, 0.13), transparent 28%),
    linear-gradient(315deg, rgba(47, 111, 98, 0.13), transparent 32%),
    var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(245, 241, 234, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
  gap: clamp(42px, 7vw, 88px);
  padding-top: clamp(84px, 11vw, 136px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.hero-copy,
.strategy-board,
.board-step,
.service-card,
.contact-card {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
  hyphens: none;
  word-break: normal;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6.4vw, 6.4rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
}

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

.lead {
  max-width: 60ch;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.24rem);
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: #fffdf8;
  background: var(--ink);
  border-color: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.55);
}

.strategy-board {
  position: relative;
  padding: 18px;
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.strategy-board::before {
  content: "";
  position: absolute;
  inset: 36px auto 36px 42px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2));
  opacity: 0.42;
}

.board-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px 18px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.board-step + .board-step {
  margin-top: 14px;
}

.board-step span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--accent);
  background: #f4e4dc;
  border-radius: 50%;
  font-size: 0.84rem;
  font-weight: 900;
}

.board-step strong {
  font-size: 1.04rem;
}

.board-step p {
  margin: -8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.board-step.active {
  border-color: rgba(141, 76, 55, 0.42);
}

.board-step.final span {
  color: #fff;
  background: var(--accent-2);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 7vw, 80px);
  border-top: 1px solid var(--line);
}

.text-block {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.text-block p:last-child {
  margin-bottom: 0;
}

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

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

.service-card {
  min-height: 290px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card-index {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(34px, 7vw, 80px);
  align-items: start;
}

.proof-copy p:not(.eyebrow) {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.quality-list {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quality-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 20px;
  color: #fffdf8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.quality-list strong {
  color: var(--accent-3);
}

.quality-list span {
  color: rgba(255, 253, 248, 0.72);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 7vw, 80px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

  h1 {
    max-width: 14ch;
  }

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

@media (max-width: 680px) {
  body {
    overflow-x: clip;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

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

  .section {
    width: 100%;
    max-width: var(--max);
    padding: 64px 16px;
  }

  .hero {
    min-height: auto;
    display: block;
    padding-top: 58px;
  }

  .hero-copy {
    margin-bottom: 34px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.36rem, 10vw, 2.9rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(1.68rem, 7.6vw, 2.04rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

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

  .strategy-board {
    width: 100%;
    max-width: 100%;
    padding: 10px;
  }

  .board-step,
  .service-card,
  .contact-card {
    padding: 16px;
  }

  .lead,
  .text-block,
  .proof-copy p:not(.eyebrow),
  .contact-card p {
    font-size: 1rem;
  }

  .board-step p,
  .service-card p,
  .quality-list span {
    font-size: 0.96rem;
  }

  .board-step,
  .quality-list div {
    grid-template-columns: 1fr;
  }

  .quality-list {
    padding: 10px;
  }

  .board-step span {
    grid-row: auto;
  }

  .strategy-board::before {
    display: none;
  }
}
