:root {
  --Black: #000;
  --Grey100: #fff;
  --Grey200: #f2f0ef;
  --Grey300: #bfbebd;
  --Grey400: #737271;
  --Grey600: #353e43;
  --Grey800: #2e3133;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: var(--Grey100);
  color: var(--Black);
  margin: 0;
  overflow-x: hidden;
  font-family: "Lato", sans-serif;
  position: relative;
}

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

h1 {
  color: var(--Black);
  font-weight: 400;
}

h2 {
  color: var(--Black);
}

p {
  font-family: "Lato";
  line-height: 1.3;
  font-size: 16px;
}

header {
  padding: 24px 40px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--Grey-100, #fff);
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

nav h1 {
  font-size: 16px;
  margin: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

nav h1:hover {
  color: var(--Grey600);
}

main.wrap {
  margin: 80px 0;
  height: 60vh;
}

.projects .slick-slide img {
  width: 40vw;
}

.work-commissions .slick-slide img {
  width: 25vw;
}

.slick-dotted.slick-slider {
  padding: 0 120px;
}

.work-slide {
  display: flex !important;
  justify-content: center;
}
ul.slick-dots li {
  text-align: left;
    color: var(--Grey400);
}

ul.slick-dots li.slick-active {
   color: var(--Black);
}
ul.slick-dots {
  display: flex;
  flex-direction: column;
  width: unset;
  margin: 24px 0;
  bottom: unset;
  top: 0;
}

/* Target the custom dots class you set via dotsClass */
.slick-dots--titles li button:before {
  content: none !important; /* kill the bullet definitively */
}

ul.slick-dots li {
  width: auto;
  height: unset;
  margin: 0;
  padding: 8px 0;
}

ul.slick-dots li button {
  height: unset;
  width: auto;
  padding: 0;
}

.slick-dots--titles li button span {
  color: var(--Grey400);
  font-size: 16px;
  line-height: 1;
  width: 100%;
  display: block;
  font-family: "Lato", sans-serif;
}

.slick-dots--titles li.slick-active button span {
  color: var(--Black);
}

figcaption {
  display: none;
}

figure.work-figure {
  margin: 0;
}

.work-slider.slick-dotted.slick-slider {
  margin-bottom: 0;
}

.site-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* position: absolute;
    left: 50%;
    transform: translateX(-50%); */
}
.site-nav a {
  padding: 16px;
  color: var(--Grey400);
  font-size: 14px;
}

.site-nav a.current {
  color: var(--Black);
}

/* About */

main.about {
  margin: 0 auto;
}

.about .top {
  display: flex;
  flex-direction: row;
  padding: 40px;
  gap: 5vw;
  align-items: center;
  justify-content: center;
}

.about .top picture,
.about .top .copy {
  flex-basis: 50%;
}

.about .top .copy {
  padding: 0 5vw;
  gap: 24px;
  display: flex;
  flex-direction: column;
  text-wrap: balance;
  max-width: 71ch;
}

.about .bottom {
  background-color: var(--Grey200);
  padding: 40px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
}

.about .bottom .right * {
  text-align: right;
}

.about .bottom h2 {
  margin-bottom: 16px;
}

.about .bottom p {
  color: var(--Grey400);
}

@media (max-width: 640px) {
  header {
    padding: 24px;
  }

  p {
    font-size: 14px;
  }

  ul.slick-dots {
    display: none;
  }

  .slick-dots--titles li button span {
    display: none;
  }

  .slick-dotted.slick-slider {
    padding: 0;
  }

  .projects .slick-slide img,
  .work-commissions .slick-slide img {
    width: 70vw;
  }

  .projects .slick-slide picture,
  .work-commissions .slick-slide picture {
    display: flex;
    align-items: end;
  }

  .projects .slick-slide picture {
    height: 230px;
  }

  .work-commissions .slick-slide picture {
    height: 380px;
  }

  .slick-slide figcaption {
    display: block;
    color: var(--Black);
    text-decoration: none;
    padding: 24px 0 0;
    margin: 2px 0;
  }

  main.wrap {
    height: auto;
    min-height: 430px;
    place-content: center;
  }

  .site-nav {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translate(-50%, 50%);
    flex-wrap: wrap;
    width: 70%;
  }

  .site-nav p {
    font-size: 16px;
  }
  
  /* About */
  .about .top {
    flex-direction: column;
    padding: 24px 24px 48px;
    gap: 48px;
  }

  .about .top .copy {
    padding: 0;
    text-wrap: unset;
  }

  .about .bottom {
    padding: 24px;
    flex-direction: column;
    align-items: unset;
    gap: 48px;
  }

  .about .bottom p,
  .about .bottom h2 {
    font-size: 12px;
  }

  .about .bottom h2 {
    margin-bottom: 8px;
  }

  .about .bottom p {
    margin-bottom: 4px;
    text-wrap: balance;
  }
}
