/* ==========================================================================
   STOP ⏸ AI — editorial stylesheet
   Ink / paper / one red. Hairline rules, serif headlines, no boxes.
   ========================================================================== */
:root {
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --ink-3: #6b6b6b;
  --rule: #dcd9d2;
  --rule-strong: #111111;
  --red: #c4161c;
  --red-dark: #9a1015;

  --c-pause: #b4161b;
  --c-cautious: #a8650a;
  --c-conditional: #2f6b5f;
  --c-accelerate: #2c4c8c;

  --header-h: 56px;
  --page-width: 760px;
  --wide-width: 1160px;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", -apple-system, sans-serif;
  --font-num: "Saira Condensed", "Noto Sans JP", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1, h2, h3, h4, p, blockquote, figure {
  margin: 0;
}

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.accent,
.u-orange {
  color: var(--red);
}

/* ==========================================================================
   Header — one line, sticky
   ========================================================================== */
.menu-band {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-strong);
  transition: box-shadow 0.2s ease;
}

.menu-band.is-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.header-sentinel {
  height: 1px;
  margin-bottom: -1px;
  pointer-events: none;
}

.main-nav {
  width: 100%;
  max-width: var(--wide-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.pause-mark {
  width: 20px;
  height: 20px;
  background: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.pause-mark span {
  display: block;
  width: 3px;
  height: 10px;
  background: #ffffff;
}

.logo-dark,
.logo-light {
  color: inherit;
}

.nav-links {
  display: flex;
  align-items: stretch;
  height: calc(var(--header-h) - 1px);
  gap: 26px;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: transparent;
}

.nav-item:hover {
  color: var(--ink);
}

.nav-item.active {
  color: var(--ink);
  font-weight: 700;
}

.nav-item.active::after {
  background: var(--red);
}

.nav-c2a {
  padding-left: 26px;
}

.nav-c2a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  margin-top: -8px;
  background: var(--rule);
}

.nav-c2a::after {
  left: 26px;
}

@media (max-width: 760px) {
  :root {
    --header-h: 50px;
  }
  .menu-band {
    padding: 0 0 0 16px;
  }
  .brand-logo {
    font-size: 21px;
  }
  .nav-links {
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-right: 24px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-item {
    font-size: 13px;
  }
  .nav-c2a {
    padding-left: 18px;
  }
  .nav-c2a::after {
    left: 18px;
  }
}

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.hero-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.hero-actions-external {
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: var(--red);
  color: #ffffff;
}

.btn-text {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.btn-text:hover {
  color: var(--red);
  border-color: var(--red);
}

.orange-link,
.source-link,
.block-link,
.section-more-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
}

.orange-link:hover,
.source-link:hover,
.block-link:hover,
.section-more-link:hover {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.source-link {
  font-weight: 500;
  color: var(--ink-3);
  word-break: break-word;
}

.source-link:hover {
  color: var(--ink);
}

/* ==========================================================================
   Home hero — thesis left, rotating quote right
   ========================================================================== */
.hero-quotes-band {
  border-bottom: 1px solid var(--rule-strong);
  padding: 0 28px;
}

.hero-quotes-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.hero-left-col {
  padding: 56px 48px 52px 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.hero-thesis-h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.hero-thesis-h1 a {
  color: var(--ink);
}

.hero-thesis-h1 a:hover .accent {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.hero-right-col {
  padding: 40px 0 28px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.quote-stage {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
}

.quote-slide {
  display: none;
  width: 100%;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.quote-stage {
  overflow: hidden;
}

.quote-slide.active {
  display: grid;
  animation: quote-in 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-stage.is-back .quote-slide.active {
  animation-name: quote-in-back;
}

.quote-slide.active .portrait-wrap {
  animation: portrait-in 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes quote-in {
  from { opacity: 0; transform: translateX(64px); }
  to { opacity: 1; transform: none; }
}

@keyframes quote-in-back {
  from { opacity: 0; transform: translateX(-64px); }
  to { opacity: 1; transform: none; }
}

@keyframes portrait-in {
  from { transform: scale(0.92); filter: grayscale(1); }
  to { transform: none; }
}

/* Hero headline: lines rise in one by one */
.hero-line {
  display: inline-block;
  animation: hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-line:nth-of-type(2) { animation-delay: 0.18s; }
.hero-line:nth-of-type(3) { animation-delay: 0.36s; }
.hero-left-col .hero-actions {
  animation: hero-rise 0.9s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* Scroll reveal (class added by app.js) */
.js-motion .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Chart: AI curve draws itself */
.chart-draw {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
}
.is-drawn .chart-draw {
  transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.35, 1);
  stroke-dashoffset: 0;
}

.portrait-wrap {
  width: 140px;
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
  overflow: hidden;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.portrait-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  color: var(--ink-3);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
}

.quote-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-text {
  position: relative;
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--ink);
}

.quote-text::before {
  content: "“";
  display: block;
  font-family: Georgia, var(--font-serif);
  font-size: 44px;
  line-height: 0.6;
  color: var(--red);
  margin-bottom: 10px;
}

.quote-name {
  font-size: 14px;
  font-weight: 700;
}

.quote-role {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

.quote-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.quote-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quote-arrow {
  font-size: 15px;
  line-height: 1;
  color: var(--ink-3);
  padding: 4px 2px;
}

.quote-arrow:hover {
  color: var(--ink);
}

.quote-dots {
  display: flex;
  gap: 6px;
}

.quote-dot {
  width: 18px;
  height: 2px;
  background: var(--rule);
  transition: background 0.2s ease, width 0.2s ease;
}

.quote-dot::before {
  content: "";
  display: block;
  margin: -8px 0;
  height: 18px;
}

.quote-dot {
  position: relative;
}

.quote-dot.active {
  width: 28px;
  background: var(--rule);
}

.quote-dot.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: var(--ink);
  transform-origin: left center;
  animation: quote-progress var(--quote-interval, 6000ms) linear both;
}

.is-manual .quote-dot.active::after {
  animation: none;
  transform: none;
}

@keyframes quote-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.quote-more-dark {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.quote-more-dark:hover {
  color: var(--red);
}

@media (max-width: 900px) {
  .hero-quotes-band {
    padding: 0 20px;
  }
  .hero-quotes-inner {
    grid-template-columns: 1fr;
  }
  .hero-left-col {
    padding: 40px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    gap: 24px;
  }
  .hero-right-col {
    padding: 28px 0 22px;
  }
  .quote-stage {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .quote-slide {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
  }
  .portrait-wrap {
    width: 84px;
  }
  .quote-text {
    font-size: 16px;
  }
  .quote-text::before {
    font-size: 34px;
    margin-bottom: 6px;
  }
}

/* ==========================================================================
   Page shells
   ========================================================================== */
.page-main {
  max-width: calc(var(--page-width) + 56px);
  margin: 0 auto;
  padding: 0 28px 96px;
}

.page-main-wide {
  max-width: calc(var(--wide-width) + 56px);
  margin: 0 auto;
  padding: 0 28px 96px;
}

.subpage-main {
  padding-top: 52px;
}

.subpage-h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.lead-p {
  font-size: 17.5px;
  line-height: 1.9;
  color: var(--ink-2);
  margin-bottom: 40px;
}

.section-lead {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0 0 24px;
}

.section-rule-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 20px;
  border-top: 2px solid var(--rule-strong);
  padding-top: 12px;
  margin-bottom: 8px;
}

.compact-section-h1 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.section-big-h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .page-main,
  .page-main-wide {
    padding: 0 20px 72px;
  }
  .subpage-main {
    padding-top: 36px;
  }
  .lead-p {
    font-size: 16px;
    margin-bottom: 32px;
  }
}

/* ==========================================================================
   Compact article list (home + /news/)
   ========================================================================== */
.section-latest {
  padding-top: 44px;
}

.news-compact-list {
  display: flex;
  flex-direction: column;
}

.news-compact-row {
  display: grid;
  grid-template-columns: 96px 92px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

.news-compact-date {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-3);
}

.news-compact-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-compact-title {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
}

.news-compact-row:hover .news-compact-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 560px) {
  .news-compact-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 12px;
  }
  .news-compact-title {
    grid-column: 1 / -1;
    font-size: 15.5px;
  }
}

/* ==========================================================================
   Home body sections
   ========================================================================== */
.mission-section {
  padding-top: 72px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.mission-block {
  border-top: 2px solid var(--rule-strong);
  padding-top: 18px;
}

.mission-block h2 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.55;
  margin-bottom: 14px;
}

.campaign-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
}

.campaign-lead strong {
  color: var(--ink);
}

.thesis-overview {
  padding-top: 80px;
}

.blocks-section {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  counter-reset: block;
}

.block-wrapper {
  border-top: 1px solid var(--rule-strong);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.block-wrapper h2 {
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-weight: 800;
  line-height: 1.55;
}

.block-wrapper p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
  flex: 1;
}

.stats-section {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  border-top: 2px solid var(--rule-strong);
  padding-top: 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  color: var(--ink);
}

.stat-num {
  font-family: var(--font-num);
  font-size: 64px;
  font-weight: 800;
  line-height: 0.95;
  color: var(--red);
  letter-spacing: -0.01em;
}

.stat-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  padding-top: 4px;
}

.stat-row:hover .stat-desc {
  color: var(--ink);
}

.closing-band {
  margin-top: 88px;
  padding: 56px 0 0;
  border-top: 1px solid var(--rule-strong);
  text-align: center;
}

.closing-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  margin-bottom: 26px;
}

.closing-band .hero-actions {
  justify-content: center;
}

@media (max-width: 680px) {
  .mission-grid,
  .blocks-section,
  .stats-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mission-section {
    padding-top: 56px;
  }
  .thesis-overview {
    padding-top: 64px;
  }
  .stat-num {
    font-size: 54px;
  }
}

/* ==========================================================================
   Figures (inline SVG charts)
   ========================================================================== */
.chart-figure {
  margin: 36px 0;
  padding: 20px 0 14px;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
  font-family: var(--font-sans);
}

.chart-figure figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* ==========================================================================
   Prose (risks / articles / about)
   ========================================================================== */
.prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 900;
  line-height: 1.5;
  margin: 56px 0 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-strong);
}

.prose h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.55;
  margin: 36px 0 12px;
}

.prose h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 10px;
}

.prose p {
  margin: 0 0 1.25em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.prose li {
  margin-bottom: 0.7em;
  padding-left: 0.2em;
}

.prose li::marker {
  color: var(--ink-3);
}

.prose ol li::marker {
  font-family: var(--font-num);
  font-weight: 700;
}

.prose strong {
  font-weight: 700;
  background: linear-gradient(transparent 68%, rgba(196, 22, 28, 0.13) 68%);
}

.prose em {
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: 600;
}

.prose a:not([class]) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:not([class]):hover {
  color: var(--red);
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--paper-2);
  padding: 1px 5px;
}

.divider-sm {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 36px 0;
}

.table-scroll {
  overflow-x: auto;
  margin: 0 0 1.75em;
  border-top: 1px solid var(--rule-strong);
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.table-scroll th,
.table-scroll td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
}

.table-scroll th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* Callout / pull-quote boxes */
.peach-quote-box {
  margin: 0 0 44px;
  padding: 26px 0 24px 26px;
  border-left: 3px solid var(--red);
}

.peach-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 12px;
}

.peach-quote-ja {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.65;
  margin-bottom: 10px;
}

.peach-quote-en {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.peach-sign {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.prose .peach-quote-box {
  margin: 44px 0;
}

.prose .peach-quote-box ol {
  margin-bottom: 1em;
}

.prose .peach-quote-box p:last-child {
  margin-bottom: 0;
}

.example-peach {
  margin: 32px 0;
  padding: 24px 28px 22px;
  background: var(--paper-2);
}

.example-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red);
  line-height: 1.6;
  margin-bottom: 8px;
}

.prose .example-peach h3 {
  margin: 0 0 14px;
  font-size: 18.5px;
}

.prose .example-peach p {
  font-size: 15.5px;
}

.prose .example-peach p:last-of-type {
  margin-bottom: 12px;
}

.prose .example-peach ul {
  margin-bottom: 0;
}

/* Scenario timeline */
.scenario-timeline {
  margin: 28px 0 36px;
  border-left: 1px solid var(--rule-strong);
}

.scenario-phase {
  position: relative;
  padding: 0 0 28px 26px;
}

.scenario-phase:last-child {
  padding-bottom: 4px;
}

.scenario-phase::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 9px;
  height: 9px;
  background: var(--red);
}

.phase-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 6px;
}

.prose .scenario-phase p {
  font-size: 15.5px;
}

.prose .scenario-phase p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .example-peach {
    padding: 20px 18px 18px;
    margin-left: -4px;
    margin-right: -4px;
  }
  .peach-quote-box {
    padding-left: 18px;
  }
  .peach-quote-ja {
    font-size: 18px;
  }
}

/* ==========================================================================
   /risks/ — underline tabs + step pager
   ========================================================================== */
.risks-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 8px 0 0;
  border-top: 2px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  scrollbar-width: none;
  counter-reset: none;
}

.risks-tabs::-webkit-scrollbar {
  display: none;
}

.risks-tab {
  position: relative;
  flex: 1 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 14px 14px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  text-align: left;
  transition: color 0.15s ease;
}

.risks-tab:first-child {
  padding-left: 0;
}

.risks-tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 3px;
  background: transparent;
  transition: background 0.15s ease;
}

.risks-tab:first-child::after {
  left: 0;
}

.risks-tab:hover {
  color: var(--ink);
}

.risks-tab.active {
  color: var(--ink);
  font-weight: 700;
}

.risks-tab.active::after {
  background: var(--red);
}

.tab-num {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: inherit;
}

.risks-tab.active .tab-num {
  color: var(--red);
}

.risks-panels > .risks-panel > h2:first-child {
  margin-top: 40px;
  border-top: 0;
  padding-top: 0;
}

.tab-step-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
  border-top: 1px solid var(--rule-strong);
  padding-top: 16px;
}

.pager-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  color: var(--ink);
}

.pager-next {
  text-align: right;
  align-items: flex-end;
  grid-column: 2;
}

.pager-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.pager-prev .pager-label::before {
  content: "← ";
}

.pager-next .pager-label::after {
  content: " →";
}

.pager-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.pager-link:hover .pager-title {
  color: var(--red);
}

.pager-link:hover .pager-label {
  color: var(--red);
}

@media (max-width: 640px) {
  .risks-tabs {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .risks-tab {
    flex: 0 0 auto;
    padding: 12px 12px 11px;
    font-size: 13px;
  }
  .risks-tab::after {
    left: 12px;
    right: 12px;
  }
  .pager-title {
    font-size: 15px;
  }
}

/* ==========================================================================
   /news/
   ========================================================================== */
.section-index {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: -12px 0 48px;
  font-size: 13.5px;
}

.section-index a {
  color: var(--ink-2);
  padding: 0 14px;
  border-left: 1px solid var(--rule);
  line-height: 1.2;
}

.section-index a:first-child {
  padding-left: 0;
  border-left: 0;
}

.section-index a:hover {
  color: var(--red);
}

.news-section {
  margin-bottom: 64px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
}

.filter-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.active {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--red);
}

.timeline-list,
.benchmark-list {
  display: flex;
  flex-direction: column;
}

.timeline-item,
.benchmark-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.tl-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tl-date {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.3;
}

.tl-tag {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.tl-tag[data-dir="accelerate"] { color: var(--c-accelerate); }
.tl-tag[data-dir="safety"] { color: var(--c-conditional); }
.tl-tag[data-dir="capability"] { color: var(--red); }
.tl-tag[data-dir="news"] { color: var(--ink-3); }

.tl-body h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
  margin-bottom: 6px;
}

.tl-body p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.bm-org {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 2px;
}

.bm-metric {
  font-family: var(--font-num);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--red);
  margin: 2px 0 8px;
}

.tl-body .bm-caveat {
  font-size: 13px;
  color: var(--ink-3);
}

.bm-caveat span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  margin-right: 8px;
  padding-right: 8px;
  border-right: 1px solid var(--rule);
}

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

.indicator {
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--rule);
}

.indicator-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.5;
}

.indicator-value {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  margin: 6px 0 8px;
  color: var(--ink);
}

.indicator-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.survey-block {
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--rule);
}

.survey-block h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
  margin-bottom: 4px;
}

.survey-meta {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.bar-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.bar-track {
  height: 8px;
  background: var(--paper-2);
}

.bar-fill {
  height: 100%;
  background: #9a9a9a;
}

.bar-fill[data-emphasis="true"] {
  background: var(--red);
}

.bar-pct {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 760px) {
  .indicator-grid {
    grid-template-columns: 1fr 1fr;
  }
  .survey-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .timeline-item,
  .benchmark-card {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .tl-meta {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }
  .indicator-grid {
    grid-template-columns: 1fr;
  }
  .bar-row {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 4px 12px;
  }
  .bar-row > span:first-child {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   /voices/ — map + inspector + list
   ========================================================================== */
.wide-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
}

.wide-head .subpage-h1 {
  margin-bottom: 0;
}

.stance-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.stance-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  background: var(--ink-3);
}

.chip-dot[data-stance="pause"] { background: var(--c-pause); }
.chip-dot[data-stance="cautious"] { background: var(--c-cautious); }
.chip-dot[data-stance="conditional"] { background: var(--c-conditional); }
.chip-dot[data-stance="accelerate"] { background: var(--c-accelerate); }

.map-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 0;
  border-top: 2px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 72px;
}

.map-canvas {
  position: relative;
  min-height: 540px;
  border-right: 1px solid var(--rule);
  user-select: none;
  overflow: hidden;
  background:
    linear-gradient(var(--rule) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 25% 100%;
  background-color: var(--paper);
  background-blend-mode: normal;
}

.map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  pointer-events: none;
}

.map-axis-x,
.map-axis-y {
  position: absolute;
  background: var(--ink);
  z-index: 1;
}

.map-axis-x {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.map-axis-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.axis-tag {
  position: absolute;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--paper);
  padding: 1px 6px;
}

.axis-tag.top { top: 10px; left: 50%; transform: translateX(-50%); }
.axis-tag.bottom { bottom: 10px; left: 50%; transform: translateX(-50%); }
.axis-tag.left { left: 8px; top: 50%; transform: translateY(-50%); color: var(--c-pause); }
.axis-tag.right { right: 8px; top: 50%; transform: translateY(-50%); color: var(--c-accelerate); }

.map-node {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}

.map-node[data-label-side="left"] { flex-direction: row-reverse; }
.map-node:hover { z-index: 12; }
.map-node.selected { z-index: 18; }

.node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--paper);
  flex-shrink: 0;
  background: var(--ink-3);
}

.map-node[data-stance="pause"] .node-dot { background: var(--c-pause); }
.map-node[data-stance="cautious"] .node-dot { background: var(--c-cautious); }
.map-node[data-stance="conditional"] .node-dot { background: var(--c-conditional); }
.map-node[data-stance="accelerate"] .node-dot { background: var(--c-accelerate); }

.node-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  padding: 1px 5px;
  white-space: nowrap;
}

.map-node:hover .node-label {
  font-weight: 700;
}

.map-node.selected .node-dot {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink);
}

.map-node.selected .node-label {
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
}

.inspector-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 12px 28px;
  border-bottom: 1px solid var(--rule);
}

.drawer-actions {
  display: flex;
  gap: 4px;
}

.step-btn {
  width: 32px;
  height: 28px;
  font-size: 14px;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.step-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.drawer-body {
  padding: 22px 0 24px 28px;
}

.drawer-body h2 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.4;
}

.voice-stance {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}

.voice-card-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.voice-portrait-sm {
  width: 72px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-2);
}

.voice-portrait-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.voice-portrait-sm .portrait-fallback {
  font-size: 17px;
}

.voice-role {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-top: 2px;
}

.voice-headline {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 8px;
}

.voice-summary {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.args-section {
  margin: 56px 0 8px;
}

.args-lead {
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
  max-width: 760px;
  margin: 14px 0 22px;
}

.args-list {
  display: grid;
  border-top: 1px solid var(--ink);
}

.arg-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.arg-who {
  display: flex;
  gap: 12px;
  align-items: center;
}

.arg-who .voice-portrait-sm {
  width: 48px;
  flex: 0 0 48px;
}

.arg-name {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 4px;
}

.arg-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: var(--ink-3);
}

.arg-rebuttal .arg-tag {
  color: var(--red);
}

.arg-claim p,
.arg-rebuttal p {
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}

.arg-rebuttal p {
  font-weight: 700;
  padding-left: 12px;
  border-left: 2px solid var(--red);
}

@media (max-width: 860px) {
  .arg-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.voice-shifts {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.voice-shifts-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.voice-shifts ol {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--rule);
  display: grid;
  gap: 8px;
}

.voice-shifts li {
  position: relative;
  display: grid;
  gap: 2px;
  font-size: 13px;
  line-height: 1.6;
}

.voice-shifts li::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.voice-shifts li:last-child::before {
  background: var(--red);
}

.shift-date {
  font-weight: 800;
  font-size: 12px;
  color: var(--ink);
}

.shift-text {
  color: var(--ink-2, var(--ink));
}

.voice-quote {
  font-family: var(--font-serif);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--ink);
  padding-left: 14px;
  border-left: 2px solid var(--red);
  margin-bottom: 12px;
}

.voices-list-wrap .section-rule-head {
  margin-bottom: 4px;
}

.voices-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.voice-card {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--rule);
}

.voice-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .map-split-layout {
    grid-template-columns: 1fr;
  }
  .map-canvas {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    min-height: 460px;
  }
  .drawer-header,
  .drawer-body {
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .voices-stack {
    grid-template-columns: 1fr;
  }
  .map-canvas {
    min-height: 400px;
  }
  .node-label {
    font-size: 11px;
  }
}

/* ==========================================================================
   Articles
   ========================================================================== */
.article-stack {
  border-top: 2px solid var(--rule-strong);
}

.article-peach-card {
  display: block;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

.article-peach-card h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.55;
  margin: 4px 0 8px;
}

.article-peach-card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.article-peach-card:hover h2 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.article-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.article-meta time {
  font-family: var(--font-num);
  font-size: 15px;
  color: var(--ink-3);
}

.article-meta span {
  color: var(--red);
}

.back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 28px;
}

.back-link:hover {
  color: var(--ink);
}

.article-h1 {
  margin-top: 10px;
}

.standfirst {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--ink-2);
  padding-bottom: 28px;
  margin-bottom: 8px !important;
  border-bottom: 1px solid var(--rule);
}

.article-sources {
  margin-top: 56px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-strong);
}

.prose .article-sources h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
}

.article-sources ul {
  font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #bdbdbd;
  padding: 48px 28px 56px;
}

.footer-wrap {
  max-width: var(--wide-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid #333333;
}

.brand-logo-footer {
  color: #ffffff;
}

.footer-updated {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8a8a8a;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-cols h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-cols li {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.6;
}

.footer-cols a {
  color: #bdbdbd;
}

.footer-cols a:hover {
  color: #ffffff;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 40px 20px 48px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
}

/* --------------------------------------------------------------------------
   観測データ（/news/）のチャート
   -------------------------------------------------------------------------- */
.viz-chart {
  margin: 8px 0 40px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-strong);
}

.viz-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font-sans);
}

.viz-grid {
  stroke: var(--rule);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.viz-axis,
.viz-axis-tick {
  stroke: var(--ink);
  stroke-width: 1;
  shape-rendering: crispEdges;
}

.viz-tick {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  fill: var(--ink-3);
}

/* 陣営カラー */
.lab-anthropic { --lab: #d97757; }
.lab-openai { --lab: #10a37f; }
.lab-google { --lab: #2563eb; }
.lab-deepseek,
.lab-other { --lab: #64748b; }

.viz-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.viz-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.viz-legend-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lab);
}

.viz-lab-line {
  fill: none;
  stroke: var(--lab);
  stroke-width: 1.25;
  stroke-linejoin: round;
  opacity: 0.4;
}

.viz-leader {
  stroke: var(--ink-3);
  stroke-width: 1;
}

.viz-mark {
  fill: var(--lab, var(--ink));
  stroke: var(--paper);
  stroke-width: 1.5;
}

.aa-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aa-row {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr) 40px;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.aa-name small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
}

.aa-track {
  height: 10px;
  background: var(--paper-2);
}

.aa-fill {
  height: 100%;
  background: var(--lab);
}

.aa-score {
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 800;
  text-align: right;
}

@media (max-width: 560px) {
  .aa-row {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 4px 12px;
  }
  .aa-name {
    grid-column: 1 / -1;
  }
}

.viz-lbl {
  font-size: 11px;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.viz-lbl-name {
  font-weight: 700;
  fill: var(--ink);
}

.viz-lbl-val {
  font-family: var(--font-num);
  font-weight: 700;
  fill: var(--ink-3);
}

.viz-trend {
  stroke: var(--ink-2);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}

.viz-trend-lbl {
  fill: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
}

.viz-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 18px;
}

.viz-kpi {
  padding: 12px 0 14px;
  border-top: 1px solid var(--rule);
}

.viz-kpi-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.5;
}

.viz-kpi-value {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 4px;
  color: var(--ink);
}

.viz-kpi-value small {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  margin-left: 3px;
}

.viz-kpi-value.is-red {
  color: var(--red);
}

@media (max-width: 640px) {
  .viz-kpis {
    grid-template-columns: 1fr;
  }
  .viz-kpi {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
  }
  .viz-kpi-value {
    font-size: 30px;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .quote-slide.active,
  .quote-slide.active .portrait-wrap,
  .hero-line,
  .hero-left-col .hero-actions {
    animation: none;
  }
  .js-motion .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .chart-draw {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

/* ==========================================================================
   Voices v2: large map + person dialog
   ========================================================================== */
.voices-lead {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  color: var(--ink);
  max-width: 760px;
  margin: 4px 0 24px;
}

.map-wrap {
  border-top: 2px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 64px;
}

.map-hint {
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}

.map-wrap .map-canvas {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-right: 0;
}

.map-node {
  gap: 8px;
  padding: 2px;
  cursor: pointer;
}

.node-face {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper-2);
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink-3);
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.node-face img { width: 100%; height: 100%; object-fit: cover; }
.node-face .portrait-fallback { font-size: 13px; font-weight: 700; color: var(--ink-2); }

.map-node[data-stance="pause"] .node-face { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--c-pause); }
.map-node[data-stance="cautious"] .node-face { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--c-cautious); }
.map-node[data-stance="conditional"] .node-face { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--c-conditional); }
.map-node[data-stance="accelerate"] .node-face { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--c-accelerate); }

.map-node .node-label { font-size: 13px; font-weight: 700; }
.map-node:hover .node-face,
.map-node:focus-visible .node-face,
.map-node.selected .node-face { transform: scale(1.15); }

.node-hint {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translate(-50%, 4px);
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.map-node[data-label-side="left"] .node-hint { left: auto; right: 0; transform: translate(0, 4px); }
.map-node[data-label-side="right"] .node-hint { left: 0; transform: translate(0, 4px); }

@media (hover: hover) {
  .map-node:hover .node-hint { opacity: 1; transform: translate(0, 0); }
}

/* face groups */
.face-section { margin-bottom: 72px; }

.face-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
}

.face-group { padding-top: 16px; }

.face-group-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 12px;
}

.face-group-items { display: flex; flex-direction: column; gap: 4px; }

.face-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  text-align: left;
  transition: background 0.15s ease;
}

.face-btn:hover { background: var(--paper-2); }

.face-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper-2);
  display: grid;
  place-items: center;
}

.face-img img { width: 100%; height: 100%; object-fit: cover; }
.face-img .portrait-fallback { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.face-name { font-size: 14px; font-weight: 700; color: var(--ink); }

/* dialog */
.person-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-top: 4px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  flex-direction: column;
}

.person-dialog[open] {
  display: flex;
  animation: pd-in 0.22s ease-out;
}

.person-dialog::backdrop { background: rgba(17, 17, 17, 0.55); }

@keyframes pd-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.pd-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--rule);
  flex-shrink: 0;
}

.pd-actions { display: flex; gap: 4px; }
.pd-close { font-size: 18px; line-height: 1; }

.pd-body {
  padding: 22px 24px 28px;
  overflow-y: auto;
}

.pd-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }

.pd-face {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper-2);
  display: grid;
  place-items: center;
}

.pd-face img { width: 100%; height: 100%; object-fit: cover; }
.pd-face .portrait-fallback { font-size: 18px; font-weight: 700; color: var(--ink-2); }

.pd-head h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}

.pd-headline {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 14px;
}

.pd-body .source-link { display: inline-block; margin-bottom: 18px; }

.pd-section {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

.pd-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--ink-2);
  padding: 2px 8px;
  margin-bottom: 8px;
}

.pd-section p { font-size: 14.5px; line-height: 1.9; }
.pd-rebuttal .pd-tag { background: var(--red); }
.pd-rebuttal p {
  font-weight: 700;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

.pd-body .voice-shifts { margin-top: 8px; }

@media (max-width: 900px) {
  .face-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .map-wrap .map-canvas { aspect-ratio: auto; height: 560px; }
  .node-face { width: 32px; height: 32px; }
  .map-node .node-label { display: none; }
  .pd-body { padding: 18px 16px 24px; }
  .pd-bar { padding: 10px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .person-dialog[open] { animation: none; }
  .node-face, .node-hint { transition: none; }
}

/* ==========================================================================
   Language switcher (Header)
   ========================================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 4px 10px;
  border: 1px solid var(--rule-strong);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lang-switch:hover {
  background: var(--ink);
  color: #ffffff;
}

@media (max-width: 760px) {
  .lang-switch {
    font-size: 12px;
    padding: 3px 8px;
  }
}

/* ==========================================================================
   Global Petition CTA (Statement on Superintelligence)
   ========================================================================== */
.btn-petition {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--red);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  transition: background 0.15s ease;
}

.btn-petition:hover {
  background: var(--red-dark);
  color: #ffffff;
}

.btn-petition-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 11.5px 20px;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-petition-outline:hover {
  background: var(--red);
  color: #ffffff;
}

.petition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 28px auto 32px;
  text-align: left;
}

.prose .petition-grid {
  margin: 36px 0;
}

.petition-card {
  margin: 28px auto 32px;
  padding: 28px 30px;
  background: var(--paper-2);
  border-top: 3px solid var(--red);
  text-align: left;
  max-width: 720px;
}

.petition-grid .petition-card {
  margin: 0;
  max-width: none;
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
}

.prose .petition-card {
  margin: 36px 0;
  max-width: none;
}

.prose .petition-grid .petition-card {
  margin: 0;
}

.petition-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 8px;
}

.petition-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 14px;
  color: var(--ink);
}

.prose .petition-card .petition-title {
  margin: 0 0 14px;
  font-size: 21px;
}

.petition-quote {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 10px;
  padding-left: 14px;
  border-left: 2px solid var(--red);
}

.petition-quote-en {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0 0 12px;
}

.petition-signatories {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 20px;
}

.prose .petition-card .petition-signatories {
  font-size: 14px;
  margin-bottom: 20px;
}

.petition-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.petition-grid .petition-actions {
  margin-top: auto;
}

.petition-grid .petition-title,
.prose .petition-grid .petition-title {
  font-size: 19px;
}

.petition-grid .petition-quote {
  font-size: 15.5px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .petition-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .petition-card {
    padding: 22px 20px;
  }
  .petition-title {
    font-size: 18.5px;
  }
  .petition-quote {
    font-size: 15.5px;
  }
}

/* ==========================================================================
   English typography refinements
   ========================================================================== */
html[lang="en"] {
  --font-serif: Georgia, "Noto Serif JP", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html[lang="en"] body {
  line-height: 1.7;
}

html[lang="en"] .hero-thesis-h1 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.22;
}

html[lang="en"] .news-compact-row {
  grid-template-columns: 96px 132px minmax(0, 1fr);
}

@media (max-width: 560px) {
  html[lang="en"] .news-compact-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
}
