.l-wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}


.l-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0 0.5rem 0 1rem;
  background: #fffaf5;
  box-shadow: 0 0.0625rem 0 rgba(67, 20, 7, 0.14), 0 0.5rem 1.5rem rgba(67, 20, 7, 0.06);
}
.banner-top {
  flex: 0 0 calc(100% + 1.5rem);
  margin: 0 -0.5rem 0 -1rem;
  padding: 0.35rem 1rem;
  background: #431407;
  color: #ffedd5;
  text-align: center;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.logo {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0;
  text-decoration: none;
}
.logo-img {
  height: 2.25rem;
  width: auto;
}
.nav-toggle {
  margin-left: auto;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
}


.l-main {
  display: block;
}
.l-main > section:nth-child(odd) {
  padding: 3rem 0 5rem;
  background: #fffaf5;
}
.l-main > section:nth-child(even) {
  padding: 5rem 0 3rem;
  background: #fff7ed;
}


.l-main > section.l-reading-room {
  position: relative;
  padding: 1.25rem 0 2.5rem;
  background: #ecd9bf;
  overflow: hidden;
}
.l-reading-room::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(255, 250, 245, 0.9), rgba(255, 250, 245, 0) 58%),
    linear-gradient(180deg, rgba(236, 217, 191, 0) 40%, rgba(205, 160, 116, 0.35) 100%);
  pointer-events: none;
}
.reading-room-grid {
  position: relative;
  display: grid;
  grid-template-areas: "title" "media" "copy";
  gap: 1rem;
}
.reading-room-title {
  grid-area: title;
}
.reading-room-media {
  grid-area: media;
  justify-self: center;
  width: 100%;
  max-width: 24rem;
}
.reading-room-copy {
  grid-area: copy;
}


.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18.75rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.ledger-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
  margin: 0;
}
.shelves-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.inquiry-grid {
  display: grid;
  gap: 2rem;
}


.l-page {
  display: block;
}
.l-document {
  padding: 2.5rem 0 4rem;
}
.document-wrap {
  max-width: 46rem;
}


.l-footer {
  padding: 0 0 3rem;
  background: #fffaf5;
}
.l-inquiry-desk {
  padding: 4rem 0 3rem;
  background: #ffedd5;
  margin-bottom: 2rem;
}

@media (min-width: 48rem) {
  .l-wrap {
    padding: 0 2rem;
  }
  .l-header {
    padding: 0 2rem;
  }
  .banner-top {
    flex-basis: calc(100% + 4rem);
    margin: 0 -2rem;
  }
  .nav {
    margin-left: auto;
  }
  .shelves-grid {
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
  }
  .inquiry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  .reading-room-media {
    max-width: 28rem;
  }
}

@media (min-width: 64rem) {
  .logo {
    padding: 0.8rem 0;
  }
  .logo-img {
    height: 2.5rem;
  }
  .l-main > section.l-reading-room {
    padding: 2rem 0 3.5rem;
  }
  .reading-room-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "media title" "media copy";
    column-gap: 3rem;
    row-gap: 1.25rem;
    align-items: center;
  }
  .reading-room-title {
    align-self: end;
  }
  .reading-room-copy {
    align-self: start;
  }
  .reading-room-media {
    max-width: 34rem;
  }
}


.nav-overlay {
  cursor: pointer;
}
.l-ledger-figures {
  border-bottom: 0.0625rem solid #ffedd5;
}
.l-catalogue-list {
  border-top: 0.0625rem solid #ffedd5;
}
.l-our-shelves {
  position: relative;
}
.l-lending-terms {
  border-bottom: 0.0625rem solid #ffedd5;
}
.l-reference-desk {
  position: relative;
}
