:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  display: flow-root;
  margin: 0;
  color: #050505;
  background: #fff;
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.site-header {
  margin: 20px 20px 0;
  font-family: "din-2014", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.2;
  font-size: 65px;
  font-weight: 300;
  letter-spacing: -0.025em;
}

.site-header h1,
.site-header nav a {
  display: block;
  margin: 0;
  line-height: 1.2;
  font-size: inherit;
}

.site-header h1 { font-weight: 700; }

.site-header nav a,
.back-to-top,
.contact-work a { text-decoration: none; }

.site-header nav a:hover,
.site-header nav a:focus-visible,
.contact-work a:hover,
.contact-work a:focus-visible { color: #7f7f7f; }

.gallery {
  margin-top: 1266px;
}

.gallery-section {
  scroll-margin-top: 78px;
}

.legacy-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 78px;
}

.work {
  position: relative;
  width: 75%;
  margin: 0 auto 174px;
}

.work picture,
.work img {
  display: block;
  width: 100%;
}

.work img { height: auto; }

/* Two alpha-mask gradients form a feathered rectangular hole over the artwork.
   Only the photographed wall receives the white veil; source pixels are untouched. */
.wall-veil {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.21);
  -webkit-mask-image:
    linear-gradient(to right, #000 0%, #000 var(--vx0), transparent var(--vx1), transparent var(--vx2), #000 var(--vx3), #000 100%),
    linear-gradient(to bottom, #000 0%, #000 var(--vy0), transparent var(--vy1), transparent var(--vy2), #000 var(--vy3), #000 100%);
  mask-image:
    linear-gradient(to right, #000 0%, #000 var(--vx0), transparent var(--vx1), transparent var(--vx2), #000 var(--vx3), #000 100%),
    linear-gradient(to bottom, #000 0%, #000 var(--vy0), transparent var(--vy1), transparent var(--vy2), #000 var(--vy3), #000 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  mask-composite: add;
}

.wall-veil-early { --vx0: 24%; --vx1: 27%; --vx2: 73%; --vx3: 76%; --vy0: 9%; --vy1: 12%; --vy2: 90%; --vy3: 93%; }
.wall-veil-framed { --vx0: 18%; --vx1: 21%; --vx2: 79%; --vx3: 82%; --vy0: 8%; --vy1: 12%; --vy2: 89%; --vy3: 93%; }
.wall-veil-standard { --vx0: 23%; --vx1: 27%; --vx2: 73%; --vx3: 77%; --vy0: 9%; --vy1: 12%; --vy2: 90%; --vy3: 93%; }
.wall-veil-small { --vx0: 32%; --vx1: 36%; --vx2: 64%; --vx3: 68%; --vy0: 20%; --vy1: 25%; --vy2: 72%; --vy3: 77%; }
.wall-veil-large { --vx0: 20%; --vx1: 23%; --vx2: 77%; --vx3: 80%; --vy0: 8%; --vy1: 12%; --vy2: 88%; --vy3: 92%; }

.work figcaption {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
}

.contact-work { margin-bottom: 225px; }

.back-to-top {
  position: fixed;
  z-index: 2;
  bottom: 8px;
  left: 20px;
  width: 46px;
  height: 46px;
  font-size: 46px;
  line-height: 46px;
  font-weight: 300;
  text-align: center;
}

@media (max-width: 1200px) {
  .site-header { font-size: clamp(28px, 5vw, 60px); }
  .gallery { margin-top: 1220px; }
  .work { margin-bottom: 150px; }
  .work figcaption { font-size: 14px; line-height: 20px; }
}

@media (max-width: 600px) {
  .site-header {
    font-size: 22px;
    line-height: 26px;
    letter-spacing: 0;
  }

  .site-header h1,
  .site-header nav a { line-height: 26px; }

  .gallery { margin-top: 1165px; }

  .gallery-section,
  .legacy-anchor { scroll-margin-top: 50px; }

  .work { margin-bottom: 90px; }

  .work figcaption {
    font-size: 8px;
    line-height: 10px;
  }

  .contact-work { margin-bottom: 100px; }

  .back-to-top {
    bottom: 8px;
    left: 20px;
    width: 26px;
    height: 30px;
    font-size: 30px;
    line-height: 30px;
  }
}
