*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "EB Garamond", "Times New Roman", Times, serif;
  font-size: 19px;
  line-height: 1.45;
  color: #000;
  background: #fff;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: #000;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

.site-layout {
  display: grid;
  grid-template-columns: calc(100vw / 3) 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "header main"
    "logo   main";
  gap: 2em;
  padding: 1em;
  min-height: 100vh;
  min-height: 100dvh;
}

.site-header { grid-area: header; }
.site-main { grid-area: main; }
.site-logo { grid-area: logo; }

.site-header {
  display: flex;
  flex-direction: column;
  gap: 1em;
  min-width: 0;
}

.site-title {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  text-decoration: none;
  color: #000;
  font-style: italic;
}

.site-title .echo {
  z-index: 1;
}

.site-title .extras {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-title .extra {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  font-style: italic;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.site-menu ul {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu li {
  margin: 0;
}

.coming-soon {
  color: #888;
  text-decoration: line-through;
  cursor: not-allowed;
}

.current-show {
  font-size: 0.95em;
}

.current-show p {
  margin: 0 0 0.6em 0;
}

.current-show p:last-child {
  margin-bottom: 0;
}

.current-show .show-title {
  font-style: italic;
}

.site-logo {
  display: block;
  max-width: 140px;
  line-height: 0;
  align-self: end;
  justify-self: start;
}

.site-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-main {
  min-width: 0;
}

.about-page .site-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.about-page .site-main p {
  width: calc(100vw / 3);
  text-align: justify;
  margin: 0 0 1em 0;
}

.about-page .site-main p:last-child {
  margin-bottom: 0;
}

.flyer {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 2em);
  max-height: calc(100dvh - 2em);
  width: auto;
  height: auto;
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 700px) {
  .flyer {
    margin-left: auto;
    margin-right: auto;
  }
}

.image-index {
  list-style: none;
  margin: 0;
  padding: 0;
}

.image-index li {
  margin: 0 0 3em 0;
}

.image-index figure {
  margin: 0;
}

.image-index img,
.image-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: contain;
  margin: 0 auto;
}

.image-index figcaption,
.image-figure figcaption {
  margin-top: 0.5em;
  font-size: 0.9em;
}

.image-figure figcaption span {
  display: block;
}

.caption-title {
  font-style: italic;
}

.text-index {
  list-style: none;
  margin: 0;
  padding: 0;
}

.text-index li {
  margin: 0 0 1em 0;
}

.byline {
  font-style: italic;
  margin: 0 0 1.5em 0;
}

.text-body {
  max-width: 38em;
}

.text-body p {
  text-indent: 1.5em;
  margin: 0;
}

.text-body p:first-child {
  text-indent: 0;
}

@media (max-width: 700px) {
  .site-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "header"
      "main"
      "logo";
    gap: 1em;
    padding: 0.75em;
  }

  body {
    font-size: 17px;
  }

  .site-header {
    gap: 0.75em;
  }

  .site-logo {
    justify-self: center;
    align-self: end;
    margin-top: 0;
    max-width: 90px;
  }

  .site-title {
    font-size: 1.05em;
  }

  .site-menu ul {
    flex-wrap: wrap;
    gap: 0.75em;
    justify-content: flex-start;
  }

  .flyer {
    max-height: none;
    width: 100%;
    margin: 0 auto;
  }

  .about-page .site-main {
    align-items: stretch;
    justify-content: flex-start;
  }

  .about-page .site-main p {
    width: 100%;
    text-align: left;
  }

  .image-index li {
    margin: 0 0 2em 0;
  }

  .image-index img,
  .image-figure img {
    max-height: 80vh;
  }

  .text-body p {
    text-indent: 1em;
  }
}
