/* Opening (TOP) */
.opening {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}

.opening__text {
  margin: 0;
  font-family: var(--font-brand);
  font-style: var(--font-brand-style, normal);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  letter-spacing: 0.02em;
  color: var(--color-fg);
  text-align: center;
  transform: translate(var(--opening-offset-x), var(--opening-offset-y));
  opacity: 0;
  animation: opening-fade-in 1.6s var(--ease-quiet) forwards;
  animation-delay: 0.2s;
}

@keyframes opening-fade-in {
  from {
    opacity: 0;
    transform: translate(var(--opening-offset-x), calc(var(--opening-offset-y) + 0.6rem));
  }
  to {
    opacity: 1;
    transform: translate(var(--opening-offset-x), var(--opening-offset-y));
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening__text {
    animation: none;
    opacity: 1;
  }
}

/* Work / photo item (shared: TOP perspective+works flow) */
.work {
  position: relative;
  margin: 0;
}

.work img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
  display: block;
}

.work--hero img {
  height: 100svh;
}

@media (max-width: 640px) {
  .work img {
    height: 80vh;
  }

  .work--hero img {
    height: 90svh;
  }
}

/* Identity (TOP) */
.identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-height: 45vh;
  padding: var(--space-lg) var(--space-sm);
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.identity__line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.06em;
  color: var(--color-fg);
}

.identity__line + .identity__line {
  color: var(--color-muted);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
}

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-sm);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 5vw, 4rem);
}

.site-footer__link {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--color-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease-quiet), border-color 0.3s var(--ease-quiet);
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--color-fg);
  border-color: var(--color-border);
}

/* WHO IS */
.who {
  background: #0a0a0a;
  color: #f2f0ec;
}

.who section,
.who figure,
.who p {
  margin: 0;
}

.who__opening {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 8vw, 6rem);
}

.who__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 4.4vw, 3rem);
  letter-spacing: 0.26em;
  color: #f2f0ec;
}

.who__meta {
  padding: 0 clamp(2rem, 8vw, 6rem) clamp(3rem, 10vw, 7rem);
}

.who__date,
.who__answer {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  letter-spacing: 0.08em;
  color: #8a8680;
}

.who__answer {
  margin-top: 0.4em;
}

.who__dedication {
  padding: 0 clamp(2rem, 8vw, 6rem) clamp(4rem, 12vw, 8rem);
  font-family: var(--font-brand);
  font-style: var(--font-brand-style, normal);
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  color: #f2f0ec;
}

.who__text {
  padding: 0 clamp(2rem, 8vw, 6rem) clamp(4rem, 10vw, 7rem);
  display: flex;
  flex-direction: column;
  gap: 2em;
  max-width: 42rem;
}

.who__text--ja p {
  font-family: var(--font-jp-who);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  line-height: 2;
  letter-spacing: 0.03em;
  color: #eae7e1;
}

.who__jp-signature {
  margin-top: 0.5em;
  text-align: right;
  font-family: var(--font-jp-who);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: #f2f0ec;
}

.who__text--en p {
  font-family: var(--font-brand-a);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  line-height: 2;
  letter-spacing: 0.03em;
  color: #8a8680;
}

.who__photo {
  position: relative;
  margin: 0;
}

.who__photo img {
  display: block;
  width: 100%;
  height: 90vh;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(0.88);
}

.who__photo-credit {
  position: absolute;
  right: var(--space-sm);
  bottom: var(--space-sm);
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  letter-spacing: 0.04em;
  color: rgba(242, 240, 236, 0.6);
}

.who__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  padding: clamp(3rem, 8vw, 5rem) clamp(2rem, 8vw, 6rem) clamp(4rem, 10vw, 6rem);
  border-top: 1px solid rgba(242, 240, 236, 0.15);
}

.who__info-label {
  margin: 0 0 0.75em;
  font-family: var(--font-brand-a);
  font-style: italic;
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
  color: #8a8680;
}

.who__info-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.1vw, 0.85rem);
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #eae7e1;
}

@media (max-width: 720px) {
  .who__info {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .who__title,
  .who__dedication {
    opacity: 0;
    transform: translateY(0.5rem);
    animation: who-fade-in 1.4s var(--ease-quiet) forwards;
  }

  .who__dedication {
    animation-delay: 0.2s;
  }
}

@keyframes who-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
