:root {
  --bg: #F7F5F2;
  --text: #1F1F1F;
  --line: #DDD7D0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.logo {
  width: 170px;
  height: auto;
}

nav {
  display: flex;
  gap: 48px;
}

nav a {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero {
  max-width: 850px;
}

.hero h1 {
  font-family: "EB Garamond", serif;
  font-size: 60px;
  line-height: 1.08;
  font-weight: 400;
  margin-bottom: 36px;
}

.intro {
  font-size: 20px;
  line-height: 1.7;
  max-width: 650px;
  margin-bottom: 40px;
}

.button {
  display: inline-block;
  background: #1F1F1F;
  color: white;
  padding: 14px 28px;
  border-radius: 3px;
  transition: opacity .2s ease;
}

.button:hover {
  opacity: .85;
}

.section {
  border-top: 1px solid var(--line);
  margin-top: 140px;
  padding-top: 70px;
}

.section h2 {
  font-family: "EB Garamond", serif;
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 60px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.grid-3 h3 {
  font-family: "EB Garamond", serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
}

.grid-3 p {
  font-size: 18px;
  line-height: 1.8;
}

.section-intro {
  font-size: 20px;
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 60px;
}

.sectors div {
  font-family: "EB Garamond", serif;
  font-size: 34px;
  line-height: 1.3;
}

.contact p {
  font-size: 22px;
  line-height: 2;
}

.contact a {
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.contact a:hover {
  border-color: currentColor;
}

@media (max-width: 991px) {

  body {
    padding: 28px;
  }

  .header {
    flex-direction: column;
    gap: 36px;
    margin-bottom: 60px;
  }

  nav {
    gap: 24px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .intro {
    font-size: 19px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section {
    margin-top: 100px;
    padding-top: 50px;
  }
}

@media (max-width: 640px) {

  body {
    padding: 24px;
  }

  .logo {
    width: 140px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.1;
  }

  .section h2 {
    font-size: 40px;
  }

  .grid-3 h3 {
    font-size: 28px;
  }

  .sectors div {
    font-size: 30px;
  }
}