@font-face { font-family: "Euclid Circular B"; src: url(/fonts/EuclidCircularB-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap }
@font-face { font-family: "Euclid Circular B"; src: url(/fonts/EuclidCircularB-Bold.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap }

:root {
  --ink: #222;
  --accent: #ff0081;
  --width: 64rem;
  height: 100%;
  touch-action: pan-x pan-y;
}

*, ::before, ::after { box-sizing: border-box }

html, body {
  margin: 0;
  padding: 8px;
  color: var(--ink);
  font: 19px "Euclid Circular B", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.lb-open { overflow: hidden }

#menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--width);
  margin: 15px auto 0;
}
#menu .logo {
  position: relative;
  top: -5px;
  color: var(--ink);
  font: 100 30px helvetica, sans-serif;
  text-decoration: none;
}
#menu .logo span { color: var(--accent); font-weight: bolder }
#menu .menu {
  display: block;
  padding-bottom: 3px;
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
}
#menu .menu.active {
  background: linear-gradient(currentColor, currentColor) 0 100% / 1px 1px repeat-x;
}
#menu .menu sup { color: var(--accent); font: 600 .6em helvetica, sans-serif }
#menu .insta { display: block; margin-left: auto }
#menu .insta img { width: 1.25rem; height: 1.25rem }

@media (min-width: 48rem) {
  #menu { gap: 3rem; margin-top: 30px }
  #menu .menu { font-size: 19px }
  #menu .insta img { width: 1.75rem; height: 1.75rem }
}

#gallery { max-width: var(--width); margin: 30px auto; padding-bottom: 60px }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.photo { position: relative }
.photo .image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: #eee;
}
.photo .image img, .photo .image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo .play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: #00000073;
  pointer-events: none;
}
.photo .play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border: 9px solid transparent;
  border-left: 15px solid #fff;
  border-right-width: 0;
  transform: translate(-35%, -50%);
}
.photo .credit {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 40px 12px 10px;
  background: linear-gradient(transparent, #000000a6);
  line-height: 1.3;
  pointer-events: none;
}
.photo .handle {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  text-shadow: 0 1px 3px #0006;
  pointer-events: auto;
}
.photo .handle:hover { text-decoration: underline }

@media (min-width: 900px) {
  .photo .image { transition: opacity .2s ease }
  .photo .image:hover { opacity: .9 }
}
@media (max-width: 900px) { .photos { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 600px) { .photos { grid-template-columns: 1fr } }

.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 56px 65px;
  background: #000;
}
.lb[hidden] { display: none }

.lb:focus { outline: none }
.lb-img, .lb-video { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none }
.lb-img[hidden], .lb-video[hidden] { display: none }
.lb button {
  position: absolute;
  border: 0;
  background: none;
  color: #fff;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lb-close { top: 18px; right: 22px; font-size: 32px }
.lb-prev, .lb-next { top: 50%; padding: 10px; font-size: 60px; transform: translateY(-50%) }
.lb-prev { left: 8px }
.lb-next { right: 8px }
.lb-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 65px;
  color: #fff;
  font-size: 18px;
}
.lb-caption a { color: #fff; text-decoration: none }
.lb-caption a:hover { text-decoration: underline }
.lb-location { font-size: 14px; opacity: .7 }
.lb-location:empty { display: none }

@media (max-width: 600px) {
  .lb { padding: 0 8px 65px }
  .lb-close { top: 12px; right: 14px; font-size: 30px }
  .lb-prev, .lb-next { padding: 6px; font-size: 44px }
}

.pages img { display: block; width: 100% }
.pages > div + div { margin-top: 2.5rem }
@media (min-width: 48rem) { .pages > div + div { margin-top: 100px } }

#about { max-width: 42rem; margin: 80px auto 0; padding-bottom: 4rem; line-height: 1.625 }
#about a { color: var(--accent); text-decoration: none }
