:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #181818;
  --muted: #777;
  --label: #888;
  --edge: clamp(18px, 4.2vw, 72px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: auto; }
body { margin: 0; color: var(--ink); background: var(--paper); }
.topline {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: var(--edge);
  text-align: right;
  font-size: 50px;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: .015em;
  background: transparent;
  pointer-events: none;
}
.wordmark { font-weight: 700; visibility: visible; transition: none; }
main { min-height: 100vh; padding: clamp(100px, 14vh, 170px) 0 7vh; }
.gallery { position: relative; width: 100%; min-height: 100vh; }
.photo {
  position: absolute;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1100ms ease, transform 1400ms cubic-bezier(.2,.65,.2,1);
}
.photo.is-visible { opacity: 1; transform: translateY(0); }
.photo img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.empty-state { margin: 25vh var(--edge) 20vh; color: var(--muted); font-size: 14px; }
footer { position: fixed; z-index: 12; left: 0; bottom: 0; width: 100%; padding: 12px var(--edge) 16px; font-size: 12px; font-weight: 300; letter-spacing: .015em; color: #fff; background: transparent; pointer-events: none; }
.copyright-text { visibility: hidden; transition: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 700px) { .topline { font-size: 32px; padding: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .photo { transition: none; transform: none; opacity: 1; }
}
.photo img {
  box-shadow: 0 5px 18px rgba(0, 0, 0, .13), 0 1px 3px rgba(0, 0, 0, .08);
}
.is-locked .photo img { filter: blur(5px); transform: scale(1.025); }
.password-screen {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, .025);
}
.password-form {
  position: relative;
  width: min(820px, 100%);
}
.password-form input {
  display: block;
  width: 100%;
  height: 88px;
  border: 1px solid #c9c9c9;
  border-radius: 0;
  padding: 0 48px;
  color: #555;
  background: rgba(255, 255, 255, .92);
  font: 300 23px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .015em;
  outline: none;
}
.password-form input::placeholder { color: #a6a6a6; opacity: 1; }
.password-form input:focus { border-color: #999; }
.password-form button {
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  border: 0;
  padding: 10px;
  color: #999;
  background: transparent;
  font: 300 24px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}
.password-form button:disabled { opacity: .5; cursor: wait; }
.password-error {
  min-height: 1.2em;
  margin: 12px 0 0;
  color: #777;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 700px) {
  .password-screen { padding: 20px; }
  .password-form input { height: 74px; padding: 0 26px; font-size: 19px; }
  .password-form button { right: 12px; }
}
