@charset "utf-8";

:root {
  --paper: #f7f3eb;
  --paper-2: #ede6da;
  --ink: #111113;
  --muted: rgba(17,17,19,.58);
  --line: rgba(17,17,19,.13);
  --red: #b40d21;
  --deep: #070708;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(180,13,33,.12), transparent 30rem),
    linear-gradient(180deg, var(--paper), #faf8f2 44%, var(--paper-2));
  font-family: "Noto Sans JP", "Yu Gothic", "Helvetica Neue", Arial, system-ui, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .055;
  background-image:
    radial-gradient(circle, rgba(0,0,0,.18) 0 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

.scroll-line {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  z-index: 120;
  background: var(--red);
}

.portrait-header {
  position: fixed;
  z-index: 70;
  left: 22px;
  right: 22px;
  top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(247,243,235,.76);
  backdrop-filter: blur(22px);
}

.portrait-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.portrait-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.portrait-nav a {
  text-decoration: none;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(17,17,19,.72);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.portrait-nav a:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

main {
  padding: 110px clamp(18px, 4vw, 58px) 70px;
}

.portrait-hero {
  min-height: 94vh;
  display: grid;
  align-content: center;
  gap: 28px;
}

.hero-index {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .58fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
}

.eyebrow,
.section-label p,
.portrait-item span,
.series-track span {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 800;
}

.hero-title h1 {
  margin: 18px 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(56px, 9vw, 146px);
  line-height: .92;
  letter-spacing: -.075em;
  font-weight: 500;
}

.hero-portrait-card figure {
  margin: 0;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 32px 90px rgba(17,17,19,.18);
}

.hero-portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.08) saturate(.82);
}

.hero-portrait-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(247,243,235,.84);
  padding: 12px 4px 2px;
  font-size: 12px;
}

.hero-portrait-card figcaption span {
  color: rgba(247,243,235,.48);
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 720px) auto;
  align-items: end;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.hero-foot p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
}

.hero-foot a,
.note-actions a {
  width: fit-content;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 13px 16px;
  background: rgba(255,255,255,.38);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hero-foot a:hover,
.note-actions a:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.statement-section,
.portraits-section,
.series-section,
.note-section {
  padding-top: clamp(92px, 13vw, 170px);
}

.section-label {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-bottom: 30px;
}

.section-label span {
  color: var(--red);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.statement-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 80px);
  margin-left: min(90px, 8vw);
}

.statement-text p {
  margin: 0;
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.8;
  letter-spacing: -.03em;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.portrait-item {
  grid-column: span 4;
  background: rgba(255,255,255,.42);
  border: 1px solid var(--line);
  padding: 10px;
  min-height: 560px;
  display: grid;
  grid-template-rows: 1fr auto;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.portrait-item:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.68);
  box-shadow: 0 30px 90px rgba(17,17,19,.12);
}

.portrait-item.large {
  grid-column: span 7;
}

.portrait-item.tall {
  grid-column: span 5;
  grid-row: span 2;
}

.portrait-item a {
  display: block;
  overflow: hidden;
  background: var(--deep);
}

.portrait-item img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: grayscale(.12) contrast(1.08) saturate(.82);
  transition: transform .65s ease, filter .35s ease;
}

.portrait-item:hover img {
  transform: scale(1.035);
  filter: grayscale(0) contrast(1.12) saturate(.94);
}

.portrait-item div {
  padding: 18px 6px 6px;
}

.portrait-item h2 {
  margin: 12px 0 10px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.portrait-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.series-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.series-track article {
  min-height: 340px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(180,13,33,.08), transparent 42%),
    rgba(255,255,255,.38);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.series-track h3 {
  margin: 70px 0 16px;
  font-size: clamp(30px, 4.4vw, 72px);
  line-height: .92;
  letter-spacing: -.06em;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
}

.series-track p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.note-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.note-layout h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(44px, 7vw, 112px);
  line-height: .95;
  letter-spacing: -.07em;
}

.note-body {
  color: var(--muted);
  line-height: 2;
}

.note-body p {
  margin: 0 0 20px;
}

.note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.portrait-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 58px);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .hero-layout,
  .hero-foot,
  .statement-text,
  .note-layout {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .portrait-item,
  .portrait-item.large,
  .portrait-item.tall {
    grid-column: span 6;
  }

  .series-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .portrait-header {
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    border-left: 0;
    border-right: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .portrait-nav {
    justify-content: flex-start;
  }

  main {
    padding-top: 40px;
  }

  .hero-index {
    grid-template-columns: 1fr;
  }

  .portrait-grid {
    display: block;
  }

  .portrait-item {
    margin-bottom: 14px;
    min-height: auto;
  }

  .portrait-item img {
    min-height: 280px;
  }

  .portrait-footer {
    flex-direction: column;
  }
}
