/* The Luzen opening includes its lower fact rail inside the first viewport. */
.opening {
  height: 100vh;
  height: 100svh;
  min-height: 650px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 92px;
  background: var(--paper);
}

.opening .hero {
  height: auto;
  min-height: 0;
}

.section-label {
  margin: 0 0 1.25rem;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.practice {
  padding: clamp(5rem, 9vw, 9rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
  background: var(--paper);
  color: #111;
}

.practice-copy h2,
.principal h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3rem, 5.1vw, 5.5rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -.055em;
}

.practice-copy > p:last-child {
  max-width: 560px;
  margin: 2.2rem 0 0;
  line-height: 1.7;
}

.practice-image {
  margin: 0;
}

.practice-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.practice-image figcaption {
  margin-top: .7rem;
  color: #666;
  font-size: .78rem;
}

.principal {
  padding: clamp(5rem, 9vw, 9rem) var(--gutter);
  background: #dedbd4;
  color: #111;
}

.principal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}

.principal-grid p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.6rem;
  padding-bottom: .25rem;
  border-bottom: 1px solid #111;
}

.contact {
  position: relative;
  min-height: 88svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.contact > img,
.contact-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-shade {
  background: rgba(8, 8, 8, .52);
}

.contact-copy {
  position: relative;
  z-index: 1;
  width: min(90%, 850px);
}

.contact-copy > p:not(.section-label) {
  max-width: 570px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
}

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  align-items: end;
  background: #090909;
  color: #aaa;
  font-size: .8rem;
}

.site-footer div {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: #fff;
}

.site-footer strong {
  font-size: 1.2rem;
  letter-spacing: -.08em;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
}

.brand,
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 800px) {
  .site-nav {
    grid-template-columns: 1fr auto auto;
    gap: .2rem;
  }

  .menu-toggle {
    display: block;
  }

  .opening {
    min-height: 740px;
    grid-template-rows: minmax(0, 1fr) 118px;
  }

  .opening .hero {
    height: auto;
    min-height: 0;
    padding-top: 6rem;
  }

  .opening .transition {
    padding-block: .75rem;
    gap: .28rem;
  }

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

  .practice-image {
    width: min(88%, 540px);
    justify-self: end;
  }

  .principal-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .principal-grid {
    gap: 3rem;
  }

  .contact {
    min-height: 78svh;
  }

  .site-footer {
    gap: 1.5rem;
    align-items: start;
  }
}
