:root {
  --parchment: #F1E9D2;
  --peacoat: #2B2E43;
}

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

body {
  background: var(--parchment);
  color: var(--peacoat);

  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.7;
}

.page {
  max-width: 1000px;
  margin: 0 auto;
}

/* HEADER */

.site-header {
  text-align: center;
  padding: 20px 20px 8px;
}

.logo {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  height: auto;
}

/* HERO */

.hero {
  text-align: center;
  padding: 8px 30px 36px;
}

.hero h1 {
  font-family: Palatino, "Book Antiqua", Georgia, serif;

  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1.15;

  max-width: 900px;
  margin: 0 auto 20px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 28px;

  font-size: 1.1rem;
}

.button {
  display: inline-block;

  background: var(--peacoat);
  color: white;

  text-decoration: none;

  padding: 14px 24px;
  border-radius: 4px;

  transition: opacity 0.2s ease;
}

.button:hover {
  opacity: 0.9;
}

/* GENERAL SECTIONS */

section {
  padding: 36px 30px;
}

h2 {
  font-family: Palatino, "Book Antiqua", Georgia, serif;

  font-size: 2.1rem;
  font-weight: 700;

  margin-bottom: 24px;
}

/* SERVICES */

.services {
  border-top: 1px solid rgba(43, 46, 67, 0.15);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 36px;
}

.service-grid article {
  margin-bottom: 6px;
}

.service-grid h3 {
  font-family: Palatino, "Book Antiqua", Georgia, serif;

  font-size: 1.35rem;
  font-weight: 700;

  margin-bottom: 10px;
}

.service-grid p {
  font-size: 1rem;
}

/* PROJECTS */

.projects {
  border-top: 1px solid rgba(43, 46, 67, 0.15);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.project-grid img {
  width: 100%;
  height: auto;

  display: block;

  border-radius: 6px;
}

.project-grid figcaption {
  margin-top: 12px;
  font-size: 0.95rem;
}

/* ABOUT */

.about {
  border-top: 1px solid rgba(43, 46, 67, 0.15);
}

.about h2 {
  margin-bottom: 16px;
}

/* CONTACT */

.contact {
  text-align: center;
  border-top: 1px solid rgba(43, 46, 67, 0.15);
}

.contact a {
  color: var(--peacoat);
  text-decoration: none;
  font-weight: 700;
}

/* FOOTER */

footer {
  text-align: center;

  padding-top: 44px;
  padding-bottom: 52px;

  font-size: 0.9rem;
  opacity: 0.8;
}

/* MOBILE */

@media (max-width: 800px) {

  .logo {
    max-width: 240px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

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

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

}
