/* Light Materials — full-bleed hero reproduction of lightmaterials.com */

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Full-viewport background image */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;   /* content anchored to the right */
  padding: 4vw 6vw;
  background: #1a0c0a url("assets/hero.jpg") center / cover no-repeat;
}

/* Right-hand content block */
.hero__content {
  width: min(34rem, 42vw);
  text-align: center;
}

.brand { margin: 0; }

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero__text {
  margin-top: 2.5rem;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.4;
  font-weight: 400;
  margin: 0 0 1.25rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.lede:last-child { margin-bottom: 0; }

/* On narrow screens, center the block over the image */
@media (max-width: 720px) {
  .hero {
    justify-content: center;
    padding: 8vw 8vw;
  }
  .hero__content {
    width: min(28rem, 86vw);
  }
  .lede { font-size: 1.05rem; }
}
