@font-face {
  font-family: "Raleway";
  src: url("/assets/fonts/Raleway-VariableFont_wght.ttf");
  font-style: normal;
  font-weight: 1 1000;
  font-display: block;
}
@font-face {
  font-family: "Alegreya";
  src: url("/assets/fonts/Alegreya-VariableFont_wght.ttf");
  font-style: normal;
  font-weight: 1 1000;
  font-display: block;
}
.hidden {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, input, textarea {
  padding: 0;
  margin: 0;
}

html {
  font-family: "Raleway", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input[type=submit] {
  border: none;
  background-color: transparent;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

body {
  padding: 32px;
  display: grid;
  grid-template-columns: min-content auto;
  align-items: start;
  column-gap: 64px;
}

aside {
  position: -webkit-sticky;
  position: sticky;
  top: 32px;
  overflow-y: auto;
}
aside h1 {
  font-family: "Alegreya", serif;
  font-size: 24px;
  font-weight: 600;
}
aside h1 :lang(zh) {
  font-size: 20px;
}
aside h2, aside a.prominent {
  font-size: 17px;
  font-weight: 600;
}
aside section {
  margin-top: 30px;
}
aside section h2 {
  margin-bottom: 10px;
}
aside section a {
  display: inline-block;
  font-size: 15px;
}
aside section a:not(:first-of-type) {
  margin-top: 5px;
}
aside section a.current {
  font-weight: 600;
}
aside section a.clickable {
  cursor: pointer;
}
aside section a.indented {
  margin-left: 2em;
}
aside section a.indented-twice {
  margin-left: 4em;
}

main h1 {
  font-family: "Alegreya", serif;
  font-size: 24px;
  font-weight: 500;
}
main h1.underlined {
  border-bottom: 1px solid currentColor;
}
main p {
  max-width: 696px;
  line-height: 1.4;
  margin: 1.4em 0;
  font-size: 16px;
  font-weight: 400;
}
main p b {
  font-weight: 600;
}
main .photo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 32px;
}
main .photo-wall:not(:first-child) {
  margin-top: 32px;
}
main .photo-wall .photo {
  margin-bottom: 32px;
}
main .photo-wall .photo.full-width {
  grid-column: 1/-1;
}
main .photo-wall .photo img {
  display: block;
  width: 100%;
}
main .photo-wall .photo .project-title {
  margin-top: 10.6666666667px;
}
main .photo-wall a > img {
  transition: opacity 0.25s ease;
}
main .photo-wall a > img:hover {
  opacity: 0.75;
}
