:root {
  color-scheme: light;
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: #f8f8f6;
  color: #191919;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }
button:focus-visible { outline: 2px solid #242424; outline-offset: 3px; }
.masthead {
  display: grid;
  justify-items: center;
  padding: clamp(48px, 8vw, 102px) 16px clamp(53px, 7vw, 93px);
}
.wordmark {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin: 0;
  font: 400 clamp(54px, 8.7vw, 112px)/1 "Baskerville", "Times New Roman", serif;
  letter-spacing: -.07em;
}
.wordmark span { padding-right: .07em; }
.mark {
  width: clamp(63px, 7vw, 91px);
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.profession {
  margin: 17px 0 0;
  padding-left: .28em;
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: .28em;
  text-transform: uppercase;
}
.gallery-section, .footer {
  width: min(1160px, calc(100% - clamp(30px, 8vw, 108px)));
  margin-inline: auto;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #c8c8c4;
  padding: 17px 0 14px;
}
.section-heading h2 {
  margin: 0;
  font: 400 clamp(26px, 4vw, 38px)/1.02 "Baskerville", "Times New Roman", serif;
  letter-spacing: -.025em;
}
.section-heading p { margin: 7px 0 0; color: #535353; font-size: 11px; }
.section-heading .preview-note { margin: 0 0 2px; white-space: nowrap; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(5px, 1vw, 12px);
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.tile {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}
.placeholder, .photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
}
.photo { object-fit: cover; }
.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--tile-bg, #eaeae8);
  color: #62625e;
  border: 1px solid #1818180b;
  transition: background-color 160ms ease;
}
.tone-1 { --tile-bg: #e2e2e0; }
.tone-2 { --tile-bg: #ededeb; }
.tone-3 { --tile-bg: #ddddda; }
.tile:hover .placeholder, .tile:focus-visible .placeholder { background: #cececa; }
.placeholder svg {
  width: clamp(23px, 20%, 40px);
  stroke: #656560;
  stroke-width: 1;
  opacity: .6;
}
.frame-number {
  position: absolute;
  bottom: clamp(5px, 1.2vw, 13px);
  left: clamp(6px, 1.2vw, 13px);
  font-size: 10px;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
}
.footer {
  margin-top: clamp(36px, 6vw, 72px);
  padding: 21px 0 33px;
  border-top: 1px solid #c8c8c4;
  color: #535353;
  font-size: 13px;
  letter-spacing: .04em;
}
.home-footer small {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", "Noto Serif JP", Georgia, serif;
  font-size: 12px;
}
.lightbox {
  width: min(540px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  color: #191919;
  background: #f8f8f6;
}
.lightbox::backdrop { background: #131313dd; }
body:has(.lightbox[open]) { overflow: hidden; }
.lightbox-content { padding: 10px clamp(12px, 3vw, 24px); }
.lightbox-heading, .lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lightbox-heading h2 { margin: 0; font-size: 13px; font-weight: 500; }
.icon-button {
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 24px;
  cursor: pointer;
}
.icon-button:hover { background: #e9e9e6; }
.enlarged { margin: 5px auto; }
.enlarged .placeholder, .enlarged .photo {
  width: min(100%, 55dvh);
  max-height: 68dvh;
  margin-inline: auto;
}
.enlarged .photo { object-fit: contain; }
.enlarged .placeholder svg { width: 52px; }
.lightbox-nav span { font-size: 12px; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .placeholder { transition: none; }
}

