/* ============================================================
   写真の座標 v4 — Final
   - Two-color spot system: navy (structure) + inked red (action)
   - Stronger card "物性": surface-2 cards on paper bg, ink-black borders
   - Negative-video for 「写真」 highlight (not red)
   - 1-row header
   - Bigger, bolder hero
   - Bold typographic card tops (no weak placeholder rectangles)
   ============================================================ */

:root {
  /* ── Paper surfaces ─────────────────────────────── */
  --bg:        #f2efe8;
  --surface:   #faf8f2;
  --surface-2: #e8e4dc;   /* card bg — darker than page bg for "物性" */

  /* ── Text ───────────────────────────────────────── */
  --text-main: #0e0c0a;
  --text-sub:  #5a554d;
  --text-mute: #8a8478;
  --text-deep: #b8b0a4;

  /* ── Rules ──────────────────────────────────────── */
  --border:        #0e0c0a;  /* main ink borders, card edges */
  --border-soft:   #a39d90;
  --rule:          var(--border-soft);
  --rule-strong:   var(--border);

  /* ── Spot colors (functional pair) ──────────────── */
  --accent-structure: #0a2540;  /* navy — chapter titles, §, you-are-here, card index */
  --accent-action:    #a83a2a;  /* inked red — links, active filter, CTA accent */

  /* ── Negative video (emphasis) ──────────────────── */
  --reverse-bg:   #0e0c0a;
  --reverse-text: #f2efe8;

  /* ── Dark map island ───────────────────────────── */
  --map-bg:   #080808;
  --map-text: #d8d2c4;
  --map-line: #c8a96e;

  /* ── Type families ─────────────────────────────── */
  --font-sans-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'YuGothic', 'Yu Gothic', system-ui, sans-serif;
  --font-sans-en: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
  --font-serif-accent: 'Cormorant Garamond', 'Times New Roman', serif;

  /* ── Type scale ────────────────────────────────── */
  --fs-body: 17px;
  --fs-body-sm: 14px;
  --fs-meta: 11px;
  --lh-body: 1.85;
  --lh-tight: 1.3;
  --lh-display: 1.02;

  /* ── Space ─────────────────────────────────────── */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px;
  --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* ── Radius ─────────────────────────────────────── */
  --r-card: 4px;
  --r-chip: 2px;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-1: 120ms;
  --dur-2: 200ms;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans-jp);
  font-feature-settings: "palt" 1;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; background: transparent; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--reverse-bg); color: var(--reverse-text); }

.page { max-width: 1440px; margin: 0 auto; background: var(--bg); }

.mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================================================
   HEADER — single row
   ============================================================ */
.head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
  border-bottom: 1.5px solid var(--rule-strong);
  background: var(--bg);
}
.head__brand {
  display: inline-flex; align-items: baseline; gap: 12px;
}
.head__brand-ja {
  font-family: var(--font-sans-jp);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.10em;
  color: var(--text-main);
}
.head__brand-en {
  font-family: var(--font-sans-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-sub);
}
.head__crumbs {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
}
.head__crumbs em {
  font-style: normal;
  color: var(--accent-structure);
  font-weight: 500;
}
.head__crumbs .sep { color: var(--text-deep); margin: 0 10px; }
.head__meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.head__lang {
  display: inline-flex;
  border: 1px solid var(--text-main);
  border-radius: var(--r-chip);
  overflow: hidden;
}
.head__lang button { padding: 4px 10px; color: var(--text-sub); font-size: 10px; letter-spacing: 0.20em; }
.head__lang button.is-active { background: var(--text-main); color: var(--reverse-text); }

/* ============================================================
   HERO — bilingual, MASSIVE typography, negative-video 写真
   ============================================================ */
.hero {
  padding: 100px 32px 72px;
  border-bottom: 1.5px solid var(--rule-strong);
  position: relative;
  background: var(--bg);
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 56px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero__eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--accent-structure);
}
.hero__eyebrow .num { color: var(--accent-structure); font-weight: 500; }
.hero__eyebrow .vol { color: var(--text-main); }

.hero__primary {
  font-family: var(--font-sans-jp);
  font-weight: 900;
  font-size: clamp(96px, 13.5vw, 200px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: var(--text-main);
  margin: 0;
  font-feature-settings: "palt" 1;
}
.hero__primary .hl {
  /* negative-video — black ink ground, paper foreground */
  background: var(--reverse-bg);
  color: var(--reverse-text);
  padding: 0 0.04em;
  margin-right: 0.02em;
  border-radius: 2px;
  display: inline-block;
  line-height: 0.96;
}
.hero__primary.is-en {
  font-family: var(--font-sans-en);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: clamp(112px, 15vw, 220px);
  line-height: 0.86;
}

.hero__subtitle {
  margin-top: 28px;
  font-family: var(--font-sans-en);
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 30px);
  letter-spacing: -0.005em;
  color: var(--text-sub);
  line-height: 1.15;
}
.hero__subtitle.is-jp {
  font-family: var(--font-sans-jp);
  font-weight: 500;
  letter-spacing: 0.10em;
}
.hero__subtitle .sep {
  color: var(--text-deep);
  margin: 0 0.6em;
  font-family: var(--font-mono);
  font-weight: 400;
}

.hero__foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  align-items: end;
}
.hero__lead {
  max-width: 30em;
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-main);
}
.hero__lead strong { font-weight: 700; }
.hero__lead .ink-link {
  color: var(--accent-action);
  border-bottom: 1px solid var(--accent-action);
  padding-bottom: 1px;
}
.hero__note-block { text-align: right; }
.hero__note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-sub);
  line-height: 1.8;
}
.hero__note::before {
  content: '— ';
  color: var(--accent-structure);
  letter-spacing: 0;
}
.hero__fig {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  border-top: 1px solid var(--text-main);
  padding-top: 6px;
}

/* ============================================================
   TABS — 2 primary, reverse-video active
   ============================================================ */
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1.5px solid var(--rule-strong);
  background: var(--bg);
}
.tabs__btn {
  text-align: left;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: center;
  color: var(--text-mute);
  border: 0; border-radius: 0;
  transition: background var(--dur-1) ease;
}
.tabs__btn + .tabs__btn { border-left: 1px solid var(--rule-strong); }
.tabs__num {
  font-family: var(--font-mono);
  font-size: 24px; line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text-deep);
}
.tabs__title { display: flex; flex-direction: column; gap: 4px; }
.tabs__title-ja {
  font-family: var(--font-sans-jp);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.10em;
  color: var(--text-sub);
}
.tabs__title-en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-deep);
}
.tabs__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-deep);
  max-width: 16em;
  text-align: right;
}
.tabs__btn.is-active {
  background: var(--reverse-bg);
  color: var(--reverse-text);
}
.tabs__btn.is-active .tabs__num { color: var(--accent-action); }
.tabs__btn.is-active .tabs__title-ja { color: var(--reverse-text); }
.tabs__btn.is-active .tabs__title-en { color: var(--reverse-text); opacity: 0.65; }
.tabs__btn.is-active .tabs__hint { color: var(--reverse-text); opacity: 0.65; }

/* ============================================================
   COORDINATES — paper outer, dark map island
   ============================================================ */
.coord {
  display: grid;
  grid-template-columns: 1fr 380px;
  background: var(--bg);
  border-bottom: 1.5px solid var(--rule-strong);
}
.coord__main { border-right: 1px solid var(--rule-strong); padding: 32px 32px 36px; }
.coord__head {
  display: grid; grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 22px;
  gap: 16px;
}
.coord__title-row { display: inline-flex; align-items: baseline; gap: 18px; }
.coord__fig {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-structure);
  font-weight: 500;
}
.coord__title {
  margin: 0;
  font-family: var(--font-sans-jp);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.10em;
  color: var(--text-main);
}
.coord__title em { font-style: normal; color: var(--accent-structure); }
.coord__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 8px;
}
.coord__nav {
  display: inline-flex; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}
.coord__nav a {
  padding: 9px 14px;
  border: 1.5px solid var(--rule-strong);
  color: var(--text-main);
  border-radius: var(--r-chip);
}
.coord__nav a:hover { background: var(--text-main); color: var(--reverse-text); }
.coord__nav a.is-primary {
  background: var(--reverse-bg);
  color: var(--reverse-text);
  border-color: var(--reverse-bg);
}
.coord__nav a.is-primary:hover { background: var(--accent-action); border-color: var(--accent-action); }

/* dark island */
.coord__frame {
  position: relative;
  height: 640px;
  border: 1.5px solid var(--rule-strong);
  background: var(--map-bg);
  overflow: hidden;
  border-radius: var(--r-card);
}
.coord__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.coord__axis {
  position: absolute;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--map-text);
  opacity: 0.7;
  pointer-events: none;
}
.coord__axis--bl { left: 14px; bottom: 12px; }
.coord__axis--br { right: 14px; bottom: 12px; }
.coord__axis--tl { left: 14px; top: 12px; color: var(--map-line); opacity: 1; }
.coord__axis--tr { right: 14px; top: 12px; }
.coord__ops {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--map-text);
  opacity: 0.55;
  pointer-events: none;
  display: grid; gap: 4px;
  max-width: 16em;
}
.coord__ops div { display: flex; align-items: center; gap: 8px; }
.coord__ops kbd {
  font-family: inherit;
  border: 1px solid var(--map-text);
  border-radius: 2px;
  padding: 1px 5px;
  font-size: 9.5px;
  opacity: 0.65;
}
.coord__caption {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.coord__caption-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.coord__caption-value {
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.75;
}
.coord__caption-value a {
  color: var(--accent-action);
  border-bottom: 1px solid var(--accent-action);
}

/* starter sidebar */
.coord__side { display: flex; flex-direction: column; background: var(--surface); }
.coord__side-head {
  padding: 18px 24px;
  border-bottom: 1.5px solid var(--rule-strong);
  display: flex; justify-content: space-between; align-items: baseline;
}
.coord__side-title {
  font-family: var(--font-sans-jp);
  font-weight: 700;
  font-size: 15px; letter-spacing: 0.12em;
  color: var(--text-main);
}
.coord__side-title small {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--accent-structure);
  margin-left: 10px;
  font-weight: 500;
}
.coord__side-hint {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--text-deep);
}
.starter {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 28px 24px;
  border-bottom: 1px solid var(--rule);
  color: var(--text-main);
  transition: background var(--dur-1) ease;
}
.starter:last-child { border-bottom: 0; }
.starter:hover { background: var(--bg); }
.starter__no {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 38px;
  line-height: 0.9;
  color: var(--accent-structure);
  align-self: start;
  letter-spacing: -0.02em;
}
.starter__channel {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.starter__name {
  font-family: var(--font-sans-jp);
  font-weight: 700;
  font-size: 18px; line-height: 1.35; letter-spacing: 0.04em;
  color: var(--text-main);
}
.starter__name-en {
  font-family: var(--font-serif-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent-action);
  margin: 2px 0 12px;
}
.starter__lede {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--text-main);
}
.starter__meta {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================================================
   CARDS VIEW
   ============================================================ */
.cards-view {
  background: var(--surface);
  padding: 96px 32px 80px;
  border-bottom: 1.5px solid var(--rule-strong);
}
.cards-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1.5px solid var(--rule-strong);
}
.cards-head__section {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-structure);
  font-weight: 500;
  margin-bottom: 14px;
}
.cards-head__title {
  font-family: var(--font-sans-jp);
  font-weight: 900;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin: 0;
}
.cards-head__title em {
  font-style: normal;
  color: var(--accent-structure);
}
.cards-head__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 12px;
}
.cards-head__legend {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: right;
  line-height: 1.8;
}
.cards-head__legend .l-row { display: inline-flex; align-items: center; gap: 18px; margin-top: 10px; }
.cards-head__legend .l-chip { display: inline-flex; align-items: center; gap: 6px; color: var(--text-main); }
.cards-head__legend .l-chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.cards-head__legend .l-chip.is-ph i { background: var(--accent-action); }
.cards-head__legend .l-chip.is-mv i { background: var(--accent-structure); }
.cards-head__legend .l-chip.is-th i { background: var(--text-main); border-radius: 2px; }

.toolbar {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 0;
  margin: 0 0 40px;
  border-bottom: 1px solid var(--rule-strong);
}
.toolbar__search {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  flex: 1; min-width: 280px;
  border-right: 1px solid var(--rule-strong);
  background: transparent;
}
.toolbar__search::before {
  content: '⌕';
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 16px;
}
.toolbar__search input {
  background: transparent; border: 0; outline: 0;
  color: var(--text-main);
  font-family: var(--font-sans-jp);
  font-size: 14px;
  width: 100%;
}
.toolbar__search input::placeholder { color: var(--text-mute); }
.pill {
  padding: 16px 20px;
  border: 0;
  border-right: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--text-sub);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
}
.pill:hover { color: var(--text-main); }
.pill.is-active {
  background: var(--accent-action);
  color: var(--reverse-text);
}
.pill--sort {
  margin-left: auto;
  border-right: 0;
  border-left: 1px solid var(--rule-strong);
}

/* — Masonry-ish grid, breathing — */
.cards {
  column-count: 4;
  column-gap: 28px;
}
@media (max-width: 1180px) { .cards { column-count: 3; } }
@media (max-width: 880px)  { .cards { column-count: 2; } }
@media (max-width: 600px)  { .cards { column-count: 1; } }

.pc-card {
  break-inside: avoid;
  margin-bottom: 28px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform var(--dur-2) var(--ease);
}
.pc-card:hover { transform: translateY(-2px); }
.pc-card a { display: block; color: inherit; }

/* — bold typographic top (no weak placeholder) — */
.pc-top {
  position: relative;
  border-bottom: 1.5px solid var(--border);
  background: var(--surface-2);
  padding: 14px 18px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.pc-top__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.pc-top__meta .idx {
  color: var(--accent-structure);
  font-weight: 500;
  font-size: 11px;
}
.pc-top__hint {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Variant: huge initials (e.g. AS, HCB) */
.pc-top--initials .pc-top__art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans-en);
  font-weight: 800;
  font-size: 168px;
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: var(--text-main);
  margin: 4px 0;
}
.pc-top--initials .pc-top__art .accent { color: var(--accent-action); }

/* Variant: huge year range */
.pc-top--year .pc-top__art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin: 4px 0;
}
.pc-top--year .pc-top__art .dash { color: var(--accent-action); margin: 0 0.08em; }

/* Variant: huge kanji */
.pc-top--kanji .pc-top__art {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-sans-jp);
  font-weight: 900;
  font-size: 148px;
  line-height: 0.86;
  letter-spacing: 0.02em;
  color: var(--text-main);
  margin: 4px 0;
  font-feature-settings: "palt" 1;
}

/* Variant: title italic */
.pc-top--title .pc-top__art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--font-serif-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 64px;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--text-main);
  padding: 0 4px;
  margin: 8px 0;
}

/* Variant: stacked block letters */
.pc-top--stacked .pc-top__art {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-family: var(--font-sans-en);
  font-weight: 800;
  font-size: 32px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text-main);
  padding: 0 4px;
}
.pc-top--stacked .pc-top__art span { display: block; }
.pc-top--stacked .pc-top__art span:nth-child(2) { color: var(--accent-action); }

/* Variant: typology grid (Becher reference) */
.pc-top--grid .pc-top__art {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  padding: 6px 0;
}
.pc-top--grid .pc-top__art i {
  border: 1px solid var(--border);
  background: var(--bg);
  display: block;
}
.pc-top--grid .pc-top__art i:nth-child(5) { background: var(--text-main); }

/* Variant: huge number (reverse) */
.pc-top--number {
  background: var(--reverse-bg);
  color: var(--reverse-text);
  border-bottom-color: var(--reverse-bg);
}
.pc-top--number .pc-top__meta,
.pc-top--number .pc-top__meta .idx,
.pc-top--number .pc-top__hint { color: var(--reverse-text); opacity: 0.6; }
.pc-top--number .pc-top__meta .idx { opacity: 1; color: var(--accent-action); }
.pc-top--number .pc-top__art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 180px;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--reverse-text);
}

/* Variant: name slashed (large english name pushed off edges) */
.pc-top--slash .pc-top__art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans-en);
  font-weight: 800;
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin: 4px -8px;
  text-align: center;
}
.pc-top--slash .pc-top__art em {
  font-style: italic;
  font-family: var(--font-serif-accent);
  font-weight: 500;
  color: var(--accent-action);
  font-size: 0.88em;
}

/* — Card body — */
.pc-body {
  padding: 22px 22px 24px;
  display: grid;
  gap: 12px;
  background: var(--surface-2);
}
.pc-body__kind {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}
.pc-body__kind::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent-action);
  border-radius: 50%;
  display: inline-block;
}
.pc-card--movement .pc-body__kind::before { background: var(--accent-structure); }
.pc-card--theme .pc-body__kind::before { background: var(--text-main); border-radius: 2px; }
.pc-body__channel {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-mute);
  border-top: 1px solid var(--border-soft);
  padding-top: 10px;
  margin-top: 2px;
}
.pc-body__name {
  margin: 0;
  font-family: var(--font-sans-jp);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--text-main);
}
.pc-body__name-en {
  font-family: var(--font-serif-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--accent-action);
  margin-top: 4px;
}
.pc-body__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.pc-body__lede {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-main);
  margin: 0;
}
.pc-body__tags { display: flex; flex-wrap: wrap; gap: 12px; }
.pc-body__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--text-sub);
}
.pc-body__tag::before { content: '· '; color: var(--text-deep); }
.pc-body__cta {
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-action);
  font-weight: 500;
  margin-top: 4px;
}

/* ============================================================
   ARCHIVE CTA — negative band
   ============================================================ */
.archive-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 36px 32px;
  background: var(--reverse-bg);
  color: var(--reverse-text);
  border-bottom: 1.5px solid var(--rule-strong);
}
.archive-cta__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-action);
  font-weight: 500;
}
.archive-cta__main {
  font-family: var(--font-sans-jp);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 38px);
  letter-spacing: 0.04em;
  color: var(--reverse-text);
  line-height: 1.25;
}
.archive-cta__main em {
  font-style: normal;
  background: var(--reverse-text);
  color: var(--reverse-bg);
  padding: 0 0.16em;
  border-radius: 2px;
}
.archive-cta__arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--reverse-text);
  padding: 16px 22px;
  border: 1.5px solid var(--reverse-text);
  border-radius: var(--r-chip);
  font-weight: 500;
}
.archive-cta__arrow:hover { background: var(--accent-action); border-color: var(--accent-action); }

/* ============================================================
   ERA — ruled grid
   ============================================================ */
.era {
  padding: 104px 32px 88px;
  background: var(--bg);
}
.era__head {
  display: grid; grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 32px;
}
.era__section {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-structure);
  font-weight: 500;
  margin-bottom: 14px;
}
.era__title {
  font-family: var(--font-sans-jp);
  font-weight: 900;
  font-size: clamp(40px, 4.4vw, 64px);
  letter-spacing: 0.06em;
  color: var(--text-main);
  margin: 0;
  line-height: 1;
}
.era__title em { font-style: normal; color: var(--accent-structure); }
.era__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-mute);
  max-width: 20em;
  text-align: right;
  line-height: 1.8;
}
.era__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--rule-strong);
  border-bottom: 1.5px solid var(--rule-strong);
}
.era__item {
  padding: 32px 24px 28px;
  border-right: 1px solid var(--rule-strong);
  display: grid; gap: 12px;
  color: var(--text-main);
  position: relative;
  transition: background var(--dur-1) ease;
}
.era__item:last-child { border-right: 0; }
.era__item:hover { background: var(--surface); }
.era__years {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--accent-structure);
}
.era__label {
  font-family: var(--font-sans-jp);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: var(--text-main);
}
.era__change {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-main);
}
.era__cta {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
}
.era__item:hover .era__cta { color: var(--accent-action); }

/* ============================================================
   BOTTOM 3 routes
   ============================================================ */
.bottom-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.bl {
  display: grid; gap: 16px;
  padding: 64px 32px 56px;
  border-right: 1px solid var(--rule-strong);
  color: var(--text-main);
  transition: background var(--dur-1) ease;
  position: relative;
}
.bl:last-child { border-right: 0; }
.bl:hover { background: var(--surface); }
.bl__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-deep);
}
.bl__no em { font-style: normal; color: var(--accent-structure); font-weight: 500; }
.bl__title {
  font-family: var(--font-sans-jp);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--text-main);
  line-height: 1.1;
}
.bl__title em { font-style: normal; color: var(--accent-structure); }
.bl__sub { font-size: 14px; line-height: 1.85; color: var(--text-main); }
.bl__cta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-action);
  font-weight: 500;
}
.bl:hover .bl__cta::after { content: '  →'; }

/* ============================================================
   FOOT
   ============================================================ */
.foot {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1.5px solid var(--rule-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.foot__center { text-align: center; }
.foot__right { text-align: right; }
.foot a { color: var(--accent-action); border-bottom: 1px solid var(--accent-action); }
