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

/* BASE */
body {
  font-family: 'Inter', sans-serif;
  background: #d1cbc3;
  color: #1e1e1c;
  font-weight: 300;
}

/* SIDE NAV */
.sideframe {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 100vh;
  background: #44413c;
  color: #eeeae5;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebrand {
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.1;
}

.sidelinks a {
  display: block;
  color: inherit;
  text-decoration: none;
  margin: 18px 0;
  font-size: 13px;
  opacity: 0.7;
}

/* CONTENT */
.contentwrap {
  margin-left: 220px;
}

/* INTRO */
.introblock {
  padding: 120px 10%;
}

.introblock h1 {
  font-weight: 200;
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 28px;
}

.introblock p {
  max-width: 520px;
  font-size: 15px;
  opacity: 0.75;
}

/* MATERIAL GRID */
.materialgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 14px;
  padding: 0 6% 120px;
}

.materialcard {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.materialcard.tall {
  grid-row: span 2;
}

.materialshade {
  position: absolute;
  inset: 0;
  background: rgba(30,30,28,0.55);
}

.materialtext {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: #f2f0ec;
}

.materialtext h2 {
  font-weight: 300;
  font-size: 22px;
}

.materialtext p {
  font-size: 13px;
  opacity: 0.7;
}

/* PROCESS */
.processline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 80px 10%;
  background: #a9a39a;
}

.processline span {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.6;
}

.processline h3 {
  font-weight: 300;
  margin: 14px 0;
}

/* CTA */
.contactpanel {
  background: #1e1e1c;
  color: #e8e6e1;
  padding: 120px 10%;
}

.contactpanel h2 {
  font-weight: 300;
  font-size: 36px;
  margin-bottom: 20px;
}

.contactpanel a {
  display: inline-block;
  margin-top: 24px;
  text-decoration: none;
  color: #e8e6e1;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  font-size: 14px;
}

/* FOOTER */
.sitefoot {
  text-align: center;
  padding: 40px 0;
  font-size: 12px;
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .sideframe {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
  }

  .contentwrap {
    margin-left: 0;
  }

  .materialgrid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .materialcard.tall {
    grid-row: span 1;
  }

  .processline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
