@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500;600&display=swap');

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
  color: #2c2c2c;
  background: #f5f2ec;
}

.screen {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.language {
  position: fixed;
  z-index: 20;

  top: 3.5vh;
  left: 4vw;

  display: flex;
  align-items: center;
  gap: 0.35em;

  font-size: clamp(11px, 0.75vw, 14px);
}

.language button {
  padding: 0;
  border: 0;
  background: transparent;

  color: inherit;
  font: inherit;

  cursor: pointer;
  opacity: 0.45;
}

.language button.active {
  opacity: 1;
}

.language button:hover {
  opacity: 1;
}

.site-header {
  position: fixed;

  left: 4vw;
  bottom: 6vh;

  z-index: 20;
}

.name {
  display: block;

  color: inherit;
  text-decoration: none;

  font-size: clamp(30px, 2.8vw, 50px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 1.8em;
  margin-top: 1.9em;
}

nav a {
  color: inherit;
  text-decoration: none;

  font-size: clamp(12px, 0.9vw, 16px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

nav a:hover {
  opacity: 0.5;
}

nav a.active {
  opacity: 0.45;
}

.series {
  padding:
    9vh
    4vw
    14vh
    24vw;
}

.series-heading {
  margin-bottom: 8vh;
}

.back {
  display: inline-block;
  margin-bottom: 1.2em;

  color: inherit;
  text-decoration: none;

  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.back:hover {
  opacity: 0.5;
}

.series-heading h1 {
  margin: 0;

  font-size: clamp(28px, 2.3vw, 42px);
  font-weight: 500;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10vh 4vw;
}

.work-item {
  margin: 0;
}


.image-placeholder {
  width: 100%;
  background: #dfdcd5;
}

.portrait .image-placeholder {
  aspect-ratio: 3 / 4;
}

.landscape .image-placeholder {
  aspect-ratio: 4 / 3;
}

.square .image-placeholder {
  aspect-ratio: 1 / 1;
}

.work-meta {
  min-height: 1em;
  margin-top: 0.7em;

  font-size: 13px;
  line-height: 1.35;
}

.work-meta:empty {
  display: none;
}

@media (max-width: 900px) {

  .language {
    top: 3vh;
    left: 5vw;
  }

  .site-header {
    position: relative;
    left: auto;
    bottom: auto;

    padding: 14vh 5vw 0;
  }

  .series {
    padding: 10vh 5vw 12vh;
  }

  .gallery {
    display: block;
  }

  .work-item {
    margin-bottom: 8vh;
  }
}.work-item img {
  display: block;
  width: 100%;
  height: auto;
}
.work-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 50vh;
  object-fit: contain;
  object-position: left top;
}