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

html, body {
  background-color: #1C1C1B;
  color: #CECEC6;
  font-family: sans-serif;
  font-size: 100%;
  font-family: "Space Grotesk", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  scroll-behavior: smooth;
}

p {
  font-weight: 300;
  font-size: 14px;
  line-height: 28px;
  margin-top: 1rem;
  width: 100%;
  max-width: 512px;
}
p.small {
  font-size: 10px;
  line-height: 21px;
}
p.txt-tertiary {
  color: #9C9C95;
}

h1, h2, h3, h4, h5, h6 {
  color: #FFFFF7;
  font-weight: unset;
  font-size: unset;
  margin: 0;
  padding: 0;
}

a {
  color: #FFFFF7;
  font-weight: 500;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:active {
  text-decoration: underline;
  filter: brightness(0.66);
}

.app__container {
  width: 100%;
  height: auto;
  margin: 0 auto;
  max-width: 1440px;
  display: grid;
  grid-template-columns: 256px auto;
  gap: 32px;
}
@media screen and (max-width: 768px) {
  .app__container {
    grid-template-columns: auto;
    gap: 0;
  }
}

.app__sidebar {
  display: flex;
  flex-direction: column;
  padding: 4rem 2rem;
  gap: 2rem;
  height: 100vh;
  justify-content: space-between;
  top: 0;
  position: sticky;
  order: 1;
}
.app__sidebar .app__portrait {
  display: block;
  border-radius: 48px;
  border-bottom: 1px solid #363633;
}
.app__sidebar .app__sidebar--header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media screen and (max-width: 768px) {
  .app__sidebar img.desktop {
    display: none;
  }
}
.app__sidebar img.mobile {
  display: none;
}
@media screen and (max-width: 768px) {
  .app__sidebar img.mobile {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .app__sidebar {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1rem;
    height: auto;
    order: 1;
    background-color: rgba(28, 28, 27, 0.5);
    backdrop-filter: blur(2rem);
    -webkit-backdrop-filter: blur(2rem);
  }
  .app__sidebar .app__portrait {
    display: none;
  }
  .app__sidebar img {
    height: 4rem;
  }
  .app__sidebar .app__sidebar--header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .app__sidebar .app__footer {
    display: none;
  }
}

.app__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.app__nav a {
  display: flex;
  text-decoration: none;
  color: #CECEC6;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  height: 40px;
  padding: 0 1rem;
  align-items: center;
  border-radius: 0.5rem;
}
.app__nav a.current {
  background-color: #363633;
  color: #FFFFF7;
}
@media screen and (max-width: 768px) {
  .app__nav {
    flex-direction: row;
    margin: 0 auto;
  }
  .app__nav a {
    height: 24px;
    padding: 0 0.5rem;
    font-size: 10px;
  }
}

.app__main {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  order: 2;
}
@media screen and (max-width: 768px) {
  .app__main {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
}

.app__section--header {
  border-bottom: 1px solid #363633;
  padding: 1rem 0;
  margin: 0 0 2rem;
}
.app__section--header.options {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}
.app__section--header.options button {
  border: none;
  background: none;
  color: #FFFFF7;
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  border: 1px solid #363633;
  cursor: pointer;
}
.app__section--header.options button:hover {
  color: #FFFFF7;
  background-color: #363633;
}
.app__section--header.options button:active {
  filter: brightness(0.5);
}

.display--1 {
  font-size: 28px;
  color: #FFFFF7;
  font-weight: 700;
  line-height: 1;
}

.display--2 {
  font-size: 21px;
  color: #FFFFF7;
  font-weight: 500;
  line-height: 28px;
}

.featured--img {
  border-radius: 3rem;
  width: 100%;
  height: auto;
}

.content--grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media screen and (max-width: 768px) {
  .content--grid-4 {
    grid-template-columns: 1fr;
  }
}

.content--grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
@media screen and (max-width: 768px) {
  .content--grid-3 {
    grid-template-columns: 1fr;
  }
}

.content--grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media screen and (max-width: 768px) {
  .content--grid-2 {
    grid-template-columns: 1fr;
  }
}

a.tile.event {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  font-weight: 300;
}
a.tile.event:hover {
  text-decoration: unset;
}
a.tile.event span {
  font-size: 14px;
  line-height: 28px;
  color: #CECEC6;
}
a.tile.event img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background-color: #363633;
  aspect-ratio: 224/140;
  margin: 0.5rem 0;
}

a.tile.art {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  font-weight: 300;
}
a.tile.art:hover {
  text-decoration: unset;
}
a.tile.art span {
  font-size: 14px;
  line-height: 28px;
  color: #CECEC6;
}
a.tile.art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background-color: #363633;
  aspect-ratio: 1/1;
  margin: 0 0 0.5rem;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #363633;
  z-index: 100;
  display: none;
}
.overlay.open {
  display: flex;
}

.scroller {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  overflow-y: auto;
}
.scroller .header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 2rem 6vw;
  background-color: rgba(28, 28, 27, 0.5);
  color: #FFFFF7;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  backdrop-filter: blur(3rem);
  -webkit-backdrop-filter: blur(3rem); /* for Safari */
}
.scroller .content {
  width: 100%;
  height: auto;
  display: grid;
  gap: 4rem;
  padding: 12vw;
}
.scroller .content .artwork {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.scroller .content .artwork img {
  margin: 0 auto 1rem auto;
  max-width: 768px;
  max-height: 66vh;
}
.scroller .content .artwork.wide {
  grid-column: span 2; /* This makes it take up 2 columns */
}
.scroller .content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

span.location {
  line-height: 1;
}
