/* =========================================================
   TAKASHI — Photographs
   暗室のような静けさと、紙焼きプリントの温度感。
   ========================================================= */

:root {
  --ink: #0d0d0c;
  --ink-2: #161614;
  --paper: #ebe6dc;
  --paper-dim: rgba(235, 230, 220, .58);
  --paper-faint: rgba(235, 230, 220, .16);
  --accent: #c9a77c;            /* 印画紙の銀塩のような、くすんだ金 */

  --serif: 'Cormorant Garamond', 'Shippori Mincho', serif;
  --mincho: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.19, 1, .22, 1);      /* expo out */
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mincho);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: var(--ink); }

.mono {
  font-family: var(--mono);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Film grain ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 90;
  opacity: .05;
  mix-blend-mode: overlay;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--ink);
  display: grid; place-items: center;
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1.4s var(--ease-io);
}
.loader.is-done { clip-path: circle(0% at 50% 50%); pointer-events: none; }
.loader__inner { text-align: center; }
.loader__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: .6em;
  padding-left: .6em;
}
.loader__count {
  margin: .1em 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(88px, 16vw, 200px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.loader__unit { font-size: .25em; vertical-align: top; margin-left: .1em; color: var(--paper-dim); }
.loader__meta { margin: 1.2em 0 0; font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--paper-dim); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; top: 0; left: 0;
    width: 10px; height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--paper);
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 95;
    transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .3s;
  }
  .cursor__label {
    font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--ink); opacity: 0; transition: opacity .3s;
  }
  .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .cursor.is-view { width: 88px; height: 88px; margin: -44px 0 0 -44px; mix-blend-mode: normal; background: var(--paper); }
  .cursor.is-view .cursor__label { opacity: 1; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
}
.nav__logo { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 18px; letter-spacing: .4em; }
.nav__logo em { font-style: italic; font-size: 15px; letter-spacing: .04em; opacity: .7; }
.nav__menu { display: flex; gap: clamp(20px, 3vw, 48px); }
.nav__menu a {
  position: relative;
  font-family: var(--serif); font-size: 17px; letter-spacing: .06em;
}
.nav__menu a span { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; vertical-align: super; margin-right: 6px; opacity: .6; }
.nav__menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 32px; height: 20px; position: relative; }
.nav__toggle i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__toggle i:first-child { top: 6px; }
.nav__toggle i:last-child { top: 14px; }

@media (max-width: 760px) {
  .nav { padding: 20px var(--gutter); }
  .nav__logo em { display: none; }
  .nav__toggle { display: block; z-index: 2; }
  .nav__menu {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 8px;
    padding: 0 var(--gutter);
    background: #000;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .8s var(--ease-io);
  }
  .nav__menu a { font-size: 13vw; line-height: 1.15; }
  .nav.is-open .nav__menu { clip-path: inset(0 0 0 0); }
  .nav.is-open .nav__toggle i:first-child { top: 10px; transform: rotate(20deg); }
  .nav.is-open .nav__toggle i:last-child { top: 10px; transform: rotate(-20deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 2s var(--ease-io);
}
.hero__slide.is-active { opacity: 1; }

/* 背景：同じ写真を大きくぼかし、作品の色が空間に滲むように */
.hero__ambient {
  position: absolute; inset: -80px;
  background-size: cover; background-position: center;
  filter: blur(56px) brightness(.42) saturate(1.25);
  transform: scale(1.18);
  transition: transform 9s cubic-bezier(.25, .1, .25, 1);
}
.hero__slide.is-active .hero__ambient { transform: scale(1.02); }

/* 手前：作品をトリミングせず、額装のように */
.hero__photo {
  position: absolute;
  margin: 0;
  top: 104px; bottom: 104px;
  right: calc(var(--gutter) + clamp(120px, 11vw, 180px));
  width: min(46vw, 760px);
  display: flex; align-items: center; justify-content: center;
}
.hero__photo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition: opacity 1.8s var(--ease), transform 2.6s var(--ease);
}
.hero__slide.is-active .hero__photo img { opacity: 1; transform: none; transition-delay: .3s; }

.hero__shade {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,13,12,.55) 0%, rgba(13,13,12,0) 50%),
    linear-gradient(180deg, rgba(13,13,12,.35) 0%, rgba(13,13,12,0) 18%);
}

.hero__title {
  position: absolute;
  left: var(--gutter); bottom: clamp(120px, 20vh, 220px);
  margin: 0;
  font-weight: 400;
}
.hero__name {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 9vw, 150px);
  line-height: .88;
  letter-spacing: .02em;
  margin-left: -.05em;
}
.hero__name .char {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.6s var(--ease);
}
.hero__name .char-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.hero__role {
  display: block;
  margin-top: 18px;
  font-family: var(--serif); font-size: clamp(16px, 1.6vw, 22px); letter-spacing: .08em;
  color: var(--paper-dim);
  opacity: 0; transform: translateY(12px);
  transition: opacity 1.2s var(--ease) 1.1s, transform 1.2s var(--ease) 1.1s;
}
.hero__role em { color: var(--paper); }

.hero__copy {
  position: absolute;
  top: 50%; right: calc(var(--gutter) + 8px);
  transform: translateY(-50%);
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: .5em;
  line-height: 2.2;
}
.hero__copy span {
  display: block;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 2s var(--ease), filter 2s var(--ease);
}
.hero__copy span:nth-child(2) { transition-delay: .5s; margin-top: 2.5em; }

/* いまの季節を大きな透かし文字で */
.hero__season {
  position: absolute;
  top: clamp(96px, 14vh, 140px); left: var(--gutter);
  margin: 0;
  display: flex; align-items: flex-start; gap: 14px;
  pointer-events: none;
  transition: opacity .7s var(--ease), filter .7s var(--ease);
}
.hero__season b {
  font-family: var(--mincho); font-weight: 500;
  font-size: clamp(56px, 7vw, 108px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(235, 230, 220, .7);
}
.hero__season span {
  font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: .06em;
  color: var(--paper-dim); margin-top: .4em;
}
.hero__season.is-changing { opacity: 0; filter: blur(6px); }

.hero__caption {
  position: absolute;
  left: var(--gutter); bottom: 40px;
  max-width: 60%;
}
.hero__caption-title { margin: 0; font-size: 14px; letter-spacing: .2em; }
.hero__caption-title em { font-family: var(--serif); font-size: 16px; font-style: italic; letter-spacing: .04em; color: var(--paper-dim); margin-left: 12px; }
.hero__caption-title em.is-solo { margin-left: 0; font-size: 18px; color: var(--paper); }
.hero__caption-exif { margin: 4px 0 0; color: var(--paper-dim); font-size: 10px; }
.hero__caption > * { transition: opacity .8s, transform .8s var(--ease); }
.hero__caption.is-changing > * { opacity: 0; transform: translateY(6px); }

.hero__index {
  position: absolute;
  right: var(--gutter); bottom: 44px;
  display: flex; align-items: center; gap: 14px;
}
.hero__bar { width: 80px; height: 1px; background: var(--paper-faint); overflow: hidden; }
.hero__bar i { display: block; height: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.hero__bar i.is-running { animation: bar var(--dur, 7s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  padding-bottom: 72px;
  font-size: 9px;
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 60px; background: var(--paper);
  animation: scrollLine 2.4s var(--ease-io) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

body.is-ready .hero__name .char { transform: translateY(0); }
body.is-ready .hero__role { opacity: 1; transform: none; }
body.is-ready .hero__copy span { opacity: 1; filter: blur(0); transition-delay: 1.4s; }
body.is-ready .hero__copy span:nth-child(2) { transition-delay: 1.9s; }

@media (max-width: 760px) {
  .hero__photo { left: var(--gutter); right: var(--gutter); width: auto; top: 84px; bottom: 300px; }
  .hero__copy, .hero__season { display: none; }
  .hero__caption { max-width: calc(100% - 2 * var(--gutter)); bottom: 84px; }
  .hero__index { left: var(--gutter); right: auto; bottom: 40px; }
  .hero__scroll { display: none; }
  .hero__title { bottom: 170px; }
}

/* ---------- Section title ---------- */
.section-title {
  margin: 0;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 20px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 150px);
  line-height: 1;
  letter-spacing: -.01em;
}
.section-title .mono { align-self: flex-start; margin-top: 1.2em; color: var(--accent); }
.section-title em {
  font-family: var(--mincho); font-style: normal;
  font-size: 13px; letter-spacing: .4em;
  color: var(--paper-dim);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-io); }
.reveal-img img { transform: scale(1.25); transition: transform 2.2s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img.is-in img { transform: scale(1); }

/* ---------- Intro ---------- */
.intro {
  position: relative;
  padding: clamp(120px, 22vh, 240px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr minmax(0, 46rem) 1fr;
  gap: 32px;
}
.intro__label { grid-column: 1; color: var(--accent); margin: .6em 0 0; }
.intro__text {
  grid-column: 2;
  margin: 0;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 2.3;
  letter-spacing: .12em;
  white-space: pre-line;
}
.intro__since { grid-column: 3; justify-self: end; align-self: end; color: var(--paper-dim); margin: 0; }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .intro__label, .intro__text, .intro__since { grid-column: 1; justify-self: start; }
  .intro__text { font-size: 17px; }
}

/* ---------- Seasons ---------- */
.seasons { padding: clamp(60px, 10vh, 120px) var(--gutter) clamp(120px, 18vh, 200px); }
.seasons__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px;
  margin-bottom: clamp(40px, 7vh, 80px);
}
.seasons__lead { margin: 0; font-size: 14px; line-height: 2.2; color: var(--paper-dim); }
.seasons__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 18px);
}
.season {
  position: relative;
  display: block;
  aspect-ratio: 3 / 5;
  overflow: hidden;
  background: var(--ink-2);
}
.season__img, .season__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.season__img img { object-fit: cover; }
.season.is-in .season__img img { transition: transform 1.8s var(--ease), filter 1s var(--ease); }
.season__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,12,.15) 0%, rgba(13,13,12,0) 35%, rgba(13,13,12,.85) 100%);
  transition: background .8s var(--ease);
}
.season__no { position: absolute; top: 18px; left: 18px; color: var(--paper-dim); }
.season__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  padding: clamp(16px, 2vw, 28px);
}
.season__ja { font-family: var(--mincho); font-weight: 500; font-size: clamp(56px, 6vw, 96px); line-height: 1; }
.season__en { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--paper-dim); margin-top: 6px; }
.season__text {
  font-size: 13px; line-height: 2; color: var(--paper-dim);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .8s var(--ease), opacity .8s var(--ease), margin .8s var(--ease);
}
.season__count {
  margin-top: 18px; padding-top: 12px;
  border-top: 1px solid var(--paper-faint);
  color: var(--paper);
}
.season:hover .season__img img, .season:focus-visible .season__img img { transform: scale(1.06); }
.season:hover .season__text, .season:focus-visible .season__text { max-height: 8em; opacity: 1; margin-top: 16px; }
.season:hover .season__shade { background: linear-gradient(180deg, rgba(13,13,12,.25) 0%, rgba(13,13,12,.2) 35%, rgba(13,13,12,.92) 100%); }
.seasons__grid:hover .season:not(:hover) .season__img img { filter: brightness(.5) saturate(.5); }
.season:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
@media (max-width: 900px) {
  .seasons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season { aspect-ratio: 3 / 4; }
  .season__text { display: none; }
}

/* ---------- Series (horizontal pinned scroll) ---------- */
.series { position: relative; height: calc(var(--n, 4) * 85vh + 100vh); }
.series__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.series__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 var(--gutter);
  margin-bottom: clamp(24px, 4vh, 48px);
}
.series__progress { color: var(--paper-dim); }
.series__progress span:first-child { color: var(--paper); }
.series__track {
  display: flex; gap: clamp(24px, 4vw, 72px);
  padding: 0 var(--gutter);
  will-change: transform;
}
.series-card {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto 240px;
  gap: 36px;
  align-items: end;
}
.series-card__img {
  position: relative;
  height: min(62vh, 640px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
}
.series-card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15) translateX(var(--px, 0)); transition: filter .8s; }
.series-card:hover .series-card__img img { filter: brightness(1.08); }
.series-card__no {
  position: absolute; top: -.18em; left: -.06em;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(80px, 12vw, 200px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(235,230,220,.75);
  pointer-events: none;
}
.series-card__body { padding-bottom: 6px; }
.series-card__years { color: var(--accent); margin: 0 0 18px; }
.series-card__title { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: .2em; line-height: 1.5; }
.series-card__en { margin: 2px 0 20px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--paper-dim); letter-spacing: .02em; }
.series-card__text { margin: 0; font-size: 13px; line-height: 2.1; color: var(--paper-dim); }
.series-card__count { margin: 24px 0 0; padding-top: 14px; border-top: 1px solid var(--paper-faint); color: var(--paper-dim); }

@media (max-width: 900px) {
  .series { height: auto; padding: 120px 0 40px; }
  .series__sticky { position: static; height: auto; }
  .series__track {
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-bottom: 8px;
    transform: none !important;
  }
  .series__track::-webkit-scrollbar { display: none; }
  .series-card { width: 78vw; grid-template-columns: 1fr; gap: 20px; scroll-snap-align: start; }
  .series-card__img { height: auto; width: 100%; }
}

/* ---------- Works ---------- */
.works { padding: clamp(100px, 18vh, 200px) var(--gutter) 80px; }
.works__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-bottom: clamp(40px, 7vh, 80px);
}
.filters { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.filters button {
  position: relative;
  font-family: var(--serif); font-size: 18px;
  color: var(--paper-dim);
  transition: color .4s;
  padding: 4px 0;
}
.filters__ja { font-family: var(--mincho); font-size: 15px; margin-right: 8px; }
.filters button sup { font-family: var(--mono); font-size: 9px; margin-left: 4px; letter-spacing: .05em; }
.filters button::before {
  content: ''; position: absolute; left: -14px; top: 50%;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  transform: translateY(-50%) scale(0); transition: transform .5s var(--ease);
}
.filters button:hover, .filters button[aria-selected="true"] { color: var(--paper); }
.filters button[aria-selected="true"]::before { transform: translateY(-50%) scale(1); }

/* Justified gallery: 写真の比率を崩さずに行を揃える */
.gallery {
  display: flex; flex-wrap: wrap;
  gap: clamp(8px, 1.2vw, 18px);
  --row: clamp(200px, 30vw, 440px);
}
.gallery::after { content: ''; flex-grow: 999; }
.tile {
  position: relative;
  flex-grow: var(--ar);
  flex-basis: calc(var(--ar) * var(--row));
  margin: 0;
  cursor: pointer;
  overflow: hidden;
  background: var(--ink-2);
}
.tile__pad { display: block; padding-bottom: calc(100% / var(--ar)); }
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease), filter 1s var(--ease), opacity 1s;
  opacity: 0;
}
.tile img.is-loaded { opacity: 1; }
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.tile__cap strong { font-weight: 500; font-size: 14px; letter-spacing: .16em; line-height: 1.5; }
.tile__cap strong.is-en { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 16px; letter-spacing: .02em; }
.tile__cap span { font-size: 9px; color: var(--paper-dim); white-space: nowrap; }
.gallery:hover .tile img { filter: brightness(.55) saturate(.6); }
.gallery .tile:hover img { filter: none; transform: scale(1.04); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.tile { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease-io), opacity .6s; }
.tile.is-pre { clip-path: inset(100% 0 0 0); }
.tile.is-hidden { display: none; }

@media (max-width: 600px) {
  .gallery { --row: 150px; }
  .tile__cap { opacity: 1; transform: none; padding: 30px 10px 10px; }
  .tile__cap span { display: none; }
  .tile__cap strong { font-size: 11px; }
}

/* ---------- About ---------- */
.about { padding: clamp(100px, 18vh, 200px) var(--gutter); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 8vw, 140px);
  margin-top: clamp(48px, 8vh, 96px);
  align-items: start;
}
.about__portrait { margin: 0; position: sticky; top: 100px; }
.about__portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.about__portrait-ph {
  aspect-ratio: 3 / 4;
  display: grid; place-items: center;
  background: var(--ink-2);
  border: 1px solid var(--paper-faint);
  color: var(--paper-dim);
}
.about__books {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
}
.about__book {
  padding: 28px 32px;
  border: 1px solid var(--paper-faint);
}
.about__book .mono { margin: 0 0 12px; color: var(--accent); }
.about__book-title { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: .24em; }
.about__book-pub { margin: 6px 0 0; font-size: 13px; color: var(--paper-dim); }
.about__portrait figcaption { margin-top: 12px; color: var(--paper-dim); font-size: 10px; }
.about__name { margin: 0 0 40px; font-size: clamp(36px, 4vw, 56px); font-weight: 500; letter-spacing: .3em; line-height: 1.3; }
.about__name small { display: block; margin-top: 10px; font-family: var(--serif); font-size: 16px; letter-spacing: .5em; color: var(--paper-dim); font-weight: 400; }
.about__bio p { margin: 0 0 1.6em; font-size: 15px; line-height: 2.4; }
.about__list { margin: 64px 0 0; display: grid; grid-template-columns: 110px 1fr; }
.about__list-head { grid-column: 1 / -1; color: var(--accent); padding-bottom: 14px; border-bottom: 1px solid var(--paper-faint); }
.about__list dt:not(.about__list-head), .about__list dd {
  margin: 0; padding: 16px 0; border-bottom: 1px solid var(--paper-faint); font-size: 13px;
}
.about__list dt:not(.about__list-head) { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--paper-dim); padding-top: 18px; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { position: static; max-width: 420px; }
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(120px, 22vh, 240px) var(--gutter) clamp(100px, 16vh, 180px);
  border-top: 1px solid var(--paper-faint);
}
.contact__label { color: var(--accent); margin: 0 0 32px; }
.contact__mail {
  display: inline-block;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(56px, 11vw, 200px);
  line-height: .95; letter-spacing: -.02em;
}
.contact__line { display: block; overflow: hidden; }
.contact__line em { font-style: italic; color: var(--accent); }
.contact__mail .contact__line > * , .contact__mail .contact__line { transition: transform .9s var(--ease); }
.contact__mail:hover .contact__line:last-child { transform: translateX(.3em); }
.contact__note { margin: 48px 0 0; font-size: 14px; color: var(--paper-dim); max-width: 32em; }
.contact__links { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.contact__links a { border-bottom: 1px solid var(--paper-faint); padding-bottom: 4px; transition: border-color .4s; text-transform: none; font-size: 12px; }
.contact__links a:hover { border-color: var(--paper); }

/* ---------- Footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding: 28px var(--gutter);
  color: var(--paper-dim);
  font-size: 10px;
  border-top: 1px solid var(--paper-faint);
}
.footer p { margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  z-index: 85;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  background: rgba(8, 8, 7, .97);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage {
  display: grid; place-items: center;
  padding: 80px clamp(16px, 5vw, 80px);
  min-height: 0;
}
.lightbox__img {
  max-width: 100%; max-height: calc(100vh - 160px);
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.lightbox__img.is-swapping { opacity: 0; transform: scale(.985); }
.lightbox__info {
  border-left: 1px solid var(--paper-faint);
  padding: 120px 36px 40px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.lightbox__no { color: var(--accent); margin: 0 0 24px; }
.lightbox__title { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: .24em; line-height: 1.5; }
.lightbox__en.is-solo { font-size: 24px; color: var(--paper); line-height: 1.4; }
.lightbox__en { margin: 4px 0 40px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--paper-dim); letter-spacing: .02em; }
.lightbox__exif { margin: auto 0 0; display: grid; grid-template-columns: 80px 1fr; row-gap: 10px; font-size: 10px; }
.lightbox__exif dt { color: var(--paper-dim); }
.lightbox__exif dd { margin: 0; text-transform: none; letter-spacing: .06em; }
.lightbox__btn {
  position: absolute;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  padding: 12px; transition: opacity .3s;
  opacity: .7;
}
.lightbox__btn:hover { opacity: 1; }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); font-size: 20px; padding: 20px; }
.lightbox__prev { left: 8px; }
.lightbox__next { right: 308px; }
@media (max-width: 900px) {
  .lightbox { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .lightbox__stage { padding: 64px 12px 12px; }
  .lightbox__img { max-height: calc(100svh - 280px); }
  .lightbox__info { border-left: 0; border-top: 1px solid var(--paper-faint); padding: 20px var(--gutter) 28px; }
  .lightbox__no { margin-bottom: 8px; }
  .lightbox__title { font-size: 18px; }
  .lightbox__en { margin-bottom: 16px; font-size: 15px; }
  .lightbox__exif { grid-template-columns: repeat(2, auto 1fr); column-gap: 12px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__next { right: 8px; }
  .lightbox__prev, .lightbox__next { top: 40%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .hero__ambient, .hero__photo img { transform: none !important; }
}
