/* Works page: tap a photo for a large view (works-view.js). 2026-10-29 visitor review #5. */
.work-card-img-wrap { cursor: zoom-in; }
.work-card-img-wrap:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

body.wv-open { overflow: hidden; }
.wv { position: fixed; inset: 0; z-index: 1000; background: rgba(26,21,16,.97); display: none;
  flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px 24px; }
.wv.open { display: flex; }
.wv-img { max-width: 100%; max-height: calc(100vh - 190px); max-height: calc(100svh - 190px); object-fit: contain; display: block; }
.wv-cap { margin-top: 18px; text-align: center; max-width: 60ch; }
.wv-title { font-family: var(--f-serif); font-style: italic; font-size: 1.125rem; color: #EAE0D0; }
.wv-meta, .wv-credit { font-family: var(--f-sans); font-size: .8125rem; color: #B8AA98; line-height: 1.6; }
.wv-archive { display: inline-block; margin-top: 10px; padding: 8px 0; font-family: var(--f-sans); font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase; color: #BF9F68; text-decoration: none; border-bottom: 1px solid rgba(191,159,104,.4); }
.wv-archive:hover { color: #D4B88A; }
.wv button { position: absolute; background: none; border: 0; color: #EAE0D0; cursor: pointer; font-family: var(--f-sans);
  width: 48px; height: 48px; font-size: 1.75rem; line-height: 1; opacity: .8; }
.wv button:hover, .wv button:focus-visible { opacity: 1; }
.wv button:focus { outline: none; }
.wv button:focus-visible { outline: 1px solid rgba(234,224,208,.45); outline-offset: -6px; }
.wv button:disabled { opacity: .2; cursor: default; }
.wv-close { top: 8px; right: 12px; font-size: 2.25rem !important; }
.wv-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.wv-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .wv { padding: 56px 12px 16px; }
  .wv-img { max-height: calc(100vh - 230px); max-height: calc(100svh - 230px); }
  /* phone: arrows sit under the photo, swiping also works */
  .wv-prev, .wv-next { top: auto; bottom: 12px; transform: none; }
}
