:root {
  --bg: #f7f3ee;
  --ink: #1f2933;
  --muted: #5d6875;
  --accent: #9b5c4a;
  --accent-dark: #713d31;
  --card: #ffffff;
  --line: #eadfd6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.hero {
  min-height: 92vh;
  background:
    linear-gradient(135deg, rgba(31,41,51,.92), rgba(113,61,49,.88)),
    radial-gradient(circle at top right, #d8b6a4, transparent 35%);
  color: white;
  padding: 28px 7vw 80px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 24px;
  font-size: 14px;
  opacity: .9;
}

.hero-content {
  max-width: 940px;
  margin-top: 15vh;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero .eyebrow { color: #f0c7b5; }

h1 {
  font-size: clamp(48px, 8vw, 88px);
  line-height: .95;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero h2 {
  max-width: 850px;
  font-weight: 500;
}

.intro {
  max-width: 720px;
  font-size: 21px;
  color: rgba(255,255,255,.88);
}

.buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

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

.secondary {
  color: white;
  border: 1px solid rgba(255,255,255,.55);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  background: white;
  padding: 34px 28px;
  text-align: center;
}

.metrics span {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-dark);
}

.metrics p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 82px 7vw;
}

.two-column {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.two-column p {
  font-size: 18px;
  color: var(--muted);
}

.cards, .case-grid {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
}

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

article, .case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(31,41,51,.06);
}

article h3 {
  margin-top: 0;
  color: var(--accent-dark);
}

.safe-note {
  max-width: 900px;
  color: var(--muted);
  font-style: italic;
}

.skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.skills li {
  background: white;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--accent-dark);
}

.contact {
  padding: 78px 7vw;
  background: #1f2933;
  color: white;
  text-align: center;
}

.contact .eyebrow { color: #f0c7b5; }

.contact h2 {
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.contact p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,.82);
}

footer {
  padding: 24px 7vw;
  background: #151b22;
  color: rgba(255,255,255,.65);
  text-align: center;
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .metrics, .cards, .case-grid, .two-column {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-content {
    margin-top: 80px;
  }
}
