@font-face { font-family: "Zen Kaku Gothic New"; src: url("fonts/ZenKakuGothicNew-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url("fonts/ZenKakuGothicNew-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zen Kaku Gothic New"; src: url("fonts/ZenKakuGothicNew-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0f0f0f;
  --text: #e6e3dd;
  --muted: #8f8b84;
  --accent: #c8b79a;
  --gap: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
}
.site-header .name {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--text);
}
.site-header nav { display: flex; gap: 22px; }
.site-header nav a {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text);
}

/* hero */
.hero {
  display: block;
  width: 100%;
  padding: 0 28px;
  cursor: zoom-in;
  background: none;
  border: 0;
}
.hero img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82vh;
  margin: 0 auto;
}

/* intro */
.intro {
  text-align: center;
  padding: 44px 24px 52px;
  font-size: 13px;
}
.intro p + p { margin-top: 6px; color: var(--muted); }

/* grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding: 0 28px;
}
.grid button {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #1a1a1a;
  border: 0;
  padding: 0;
  cursor: zoom-in;
}
.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.grid button:hover img { opacity: 0.82; }

/* info sections */
.info {
  max-width: 560px;
  margin: 0 auto;
  padding: 96px 24px 40px;
  font-size: 13px;
}
.info section + section { margin-top: 72px; }
.info h2 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-align: center;
  margin-bottom: 22px;
  color: var(--muted);
}
.info .center { text-align: center; }
.info ul { list-style: none; }
.info li { padding-left: 1.2em; text-indent: -1.2em; }
.info li + li { margin-top: 10px; }
.info li::before { content: "—"; margin-right: 0.4em; color: var(--muted); }
.info li strong { font-weight: 500; }

footer {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding: 64px 24px 40px;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.2em;
  cursor: pointer;
  padding: 18px;
}
.lightbox .close { top: 8px; right: 10px; }
.lightbox .prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .count {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header { padding: 18px 16px; }
  .site-header { flex-wrap: wrap; gap: 10px; }
  .site-header .name { font-size: 12px; letter-spacing: 0.2em; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: 10px; letter-spacing: 0.16em; }
  .hero, .grid { padding: 0 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); --gap: 4px; }
  .intro { padding: 32px 20px 40px; font-size: 12.5px; }
  .lightbox .prev, .lightbox .next { display: none; }
}
