:root {
  --ink: #17130f;
  --ink-soft: #2c251e;
  --paper: #e8dcc2;
  --paper-light: #f3ead5;
  --vermilion: #9f251c;
  --vermilion-bright: #c33829;
  --gold: #b89a58;
  --gold-light: #d6bf83;
  --line: rgba(23, 19, 15, .35);
  --max: 1280px;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  line-height: 1.8;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; }
/* Preserve every source asset's intrinsic proportions at every breakpoint. */
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; padding: 8px 14px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 12px clamp(20px, 4vw, 64px);
  color: var(--paper-light);
  background: var(--ink);
  border-bottom: 1px solid var(--gold);
}
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; font-family: var(--sans); }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink); background: var(--gold); font: 700 24px/1 var(--serif); }
.brand b { display: block; letter-spacing: .14em; }
.brand small { display: block; color: var(--gold-light); font-size: 9px; letter-spacing: .22em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); font-family: var(--sans); font-size: 13px; letter-spacing: .12em; }
.site-nav a { min-height: 44px; display: grid; place-items: center; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-color: var(--gold); }
.menu-button { display: none; color: var(--paper-light); background: transparent; border: 1px solid var(--gold); min-width: 64px; min-height: 44px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, .7fr);
  min-height: calc(100svh - 88px);
  overflow: hidden;
  background-color: var(--paper-light);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 8vw 8vw;
}
.hero::before { content: "昭和構成研究 第壱号"; position: absolute; left: 18px; bottom: 24px; font: 10px/1 var(--sans); letter-spacing: .25em; writing-mode: vertical-rl; }
.hero-copy { align-self: center; padding: clamp(64px, 9vw, 150px) clamp(24px, 7vw, 110px); }
.issue-label { margin: 0 0 32px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.issue-label span { display: inline-block; padding: 3px 9px; margin-right: 8px; color: var(--paper-light); background: var(--vermilion); }
.hero h1 { margin: 0; font-size: clamp(46px, 6.7vw, 112px); font-weight: 700; line-height: .98; letter-spacing: -.06em; }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { color: var(--vermilion); }
.hero-lead { max-width: 720px; margin: 42px 0 12px; font-size: clamp(21px, 2vw, 31px); font-weight: 700; line-height: 1.55; }
.hero-note { max-width: 660px; margin: 0; font-size: 14px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 220px; min-height: 52px; margin-top: 36px; padding: 8px 18px; color: var(--paper-light); background: var(--ink); font-family: var(--sans); font-size: 13px; text-decoration: none; }
.primary-link:hover { background: var(--vermilion); }
.hero-poster { position: relative; z-index: 2; align-self: center; margin: 70px clamp(42px, 7vw, 110px) 70px 0; }
.poster-frame { position: relative; display: grid; place-items: center; padding: clamp(18px, 2.2vw, 34px); background: var(--ink); box-shadow: 18px 18px 0 var(--vermilion); }
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 266 / 392;
  object-fit: contain;
  background: #c7bca2;
  image-rendering: auto;
}
.zoom-button { position: absolute; right: 0; bottom: 0; min-width: 112px; min-height: 48px; color: var(--ink); background: var(--gold-light); border: 0; cursor: pointer; font: 700 12px/1 var(--sans); }
.zoom-button:hover { background: white; }
.hero-poster figcaption { display: grid; margin-top: 22px; font-size: 12px; line-height: 1.5; }
.hero-poster figcaption b { font-family: var(--sans); letter-spacing: .16em; }
.hero-poster figcaption span { color: #6c6258; font-family: var(--sans); font-size: 10px; }
.hero-stamp { position: absolute; top: 0; right: 0; z-index: 1; padding: 12px 10px; color: var(--paper-light); background: var(--vermilion); font-size: clamp(18px, 2vw, 30px); font-weight: 700; line-height: 1.2; }

.section-index { display: flex; flex-direction: column; gap: 4px; font-family: var(--sans); }
.section-index span { font-size: 11px; font-weight: 700; letter-spacing: .22em; }
.section-index b { font: 400 70px/1 var(--serif); }
.section-index.light { color: var(--gold-light); }
.kicker { margin: 0 0 18px; font: 700 11px/1.4 var(--sans); letter-spacing: .28em; }

.manifesto { display: grid; grid-template-columns: 120px 1fr; gap: 4vw; max-width: var(--max); margin: auto; padding: clamp(90px, 12vw, 180px) clamp(24px, 5vw, 72px); }
.manifesto h2, .history h2, .sources h2 { margin: 0; font-size: clamp(38px, 5.3vw, 76px); line-height: 1.18; letter-spacing: -.045em; }
.essay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 68px); margin-top: 64px; border-top: 1px solid var(--ink); }
.essay-grid p { position: relative; margin: 0; padding-top: 30px; font-size: 16px; }
.essay-grid p::before { position: absolute; top: -15px; left: 0; display: grid; place-items: center; width: 29px; height: 29px; color: var(--paper-light); background: var(--vermilion); font: 700 11px/1 var(--sans); }
.essay-grid p:nth-child(1)::before { content: "一"; }
.essay-grid p:nth-child(2)::before { content: "二"; }
.essay-grid p:nth-child(3)::before { content: "三"; }

.archive { padding: clamp(88px, 10vw, 150px) clamp(24px, 5vw, 72px); color: var(--paper-light); background: var(--ink); }
.archive-heading { display: grid; grid-template-columns: 120px 1fr; gap: 4vw; max-width: var(--max); margin: 0 auto 64px; }
.archive h2 { margin: 0; font-size: clamp(42px, 6vw, 88px); line-height: 1.08; letter-spacing: -.05em; }
.archive-stage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .55fr); max-width: var(--max); margin: auto; border: 1px solid #594d3d; }
.wide-poster { margin: 0; padding: clamp(16px, 3vw, 40px); border-right: 1px solid #594d3d; }
.image-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; background: #0d0b09; border: 0; cursor: zoom-in; }
.image-button img {
  width: 100%;
  height: auto;
  aspect-ratio: 326 / 233;
  object-fit: contain;
  filter: sepia(.25) contrast(1.08);
  transition: transform .3s ease;
}
.image-button:hover img { transform: scale(1.015); }
.image-button span { position: absolute; right: 12px; bottom: 12px; padding: 10px 14px; color: var(--ink); background: var(--gold-light); font: 700 11px/1 var(--sans); }
.wide-poster figcaption { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; font-size: 12px; }
.wide-poster figcaption b { color: var(--gold-light); font-family: var(--sans); letter-spacing: .12em; }
.archive-note { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 54px); background: var(--ink-soft); }
.archive-note img {
  width: min(100%, 250px);
  height: auto;
  aspect-ratio: 425.75 / 351.71875;
  object-fit: contain;
  margin: 0 auto auto;
}
.archive-note h3 { margin: 46px 0 0; color: var(--gold-light); font-size: 28px; }
.archive-note p { font-size: 14px; }
.archive-note small { color: #b5aa98; font: 10px/1.6 var(--sans); }

.history { max-width: var(--max); margin: auto; padding: clamp(90px, 12vw, 180px) clamp(24px, 5vw, 72px); }
.history-intro { display: grid; grid-template-columns: 120px minmax(0, 820px); gap: 4vw; }
.history-intro > div:last-child > p:last-child { max-width: 680px; margin-top: 32px; }
.timeline { margin: 80px 0 0 120px; padding: 0; list-style: none; border-top: 4px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 220px 1fr; gap: 44px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.timeline time { font: 700 clamp(38px, 5vw, 66px)/.9 var(--sans); letter-spacing: -.06em; }
.timeline time span { display: block; margin-top: 12px; color: var(--vermilion); font-size: 14px; letter-spacing: .12em; }
.timeline h3 { margin: 0 0 10px; font-size: 24px; }
.timeline p { max-width: 690px; margin: 0; }

.words { display: grid; grid-template-columns: minmax(290px, .55fr) minmax(0, 1.45fr); color: var(--paper-light); background: var(--vermilion); border-top: 8px solid var(--ink); }
.words-title-block { padding: clamp(70px, 8vw, 120px) clamp(24px, 6vw, 84px); background: var(--vermilion); }
.words h2 { margin: 22px 0 0; font-size: clamp(42px, 5vw, 76px); line-height: 1.12; letter-spacing: -.05em; }
.word-cards { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper-light); }
.word-cards article { position: relative; padding: clamp(44px, 5vw, 78px) clamp(24px, 3.4vw, 52px); color: var(--ink); border-left: 1px solid var(--line); }
.word-number { margin: 0 0 68px; font: 700 12px/1 var(--sans); }
.word-cards h3 { margin: 0; writing-mode: vertical-rl; font-size: clamp(40px, 4vw, 64px); line-height: 1; letter-spacing: .08em; }
.reading { position: absolute; top: 76px; right: 24px; margin: 0; font: 10px/1 var(--sans); letter-spacing: .18em; writing-mode: vertical-rl; }
.word-cards article > p:not(.word-number):not(.reading) { margin-top: 34px; font-size: 14px; }
.word-cards .context { padding-top: 22px; border-top: 1px solid var(--vermilion); }

.position { position: relative; padding: clamp(100px, 14vw, 210px) clamp(24px, 10vw, 150px); color: var(--paper-light); background: var(--ink); overflow: hidden; }
.position::after { content: "再考"; position: absolute; right: -2vw; bottom: -14vw; color: rgba(184,154,88,.09); font-size: 36vw; font-weight: 700; line-height: 1; pointer-events: none; }
.position-ruby { color: var(--gold-light); font: 700 11px/1 var(--sans); letter-spacing: .28em; }
.position h2 { position: relative; z-index: 1; max-width: 1100px; margin: 30px 0 70px; font-size: clamp(44px, 7vw, 108px); line-height: 1.12; letter-spacing: -.05em; }
.position h2 em { color: var(--gold-light); font-style: normal; }
.position-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; max-width: 1050px; background: #665842; border: 1px solid #665842; }
.position-grid div { padding: 32px; background: var(--ink); }
.position-grid span { color: var(--gold-light); font: 700 12px/1 var(--sans); letter-spacing: .15em; }
.position-grid p { margin-bottom: 0; }
.position blockquote { position: relative; z-index: 1; max-width: 900px; margin: 74px 0 0 auto; padding-left: 30px; border-left: 8px solid var(--vermilion); font-size: clamp(22px, 2.6vw, 38px); font-weight: 700; line-height: 1.5; }

.sources { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4vw; max-width: var(--max); margin: auto; padding: clamp(90px, 12vw, 170px) clamp(24px, 5vw, 72px); }
.sources-lead { max-width: 760px; margin: 32px 0 50px; }
.source-list { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.source-list li { display: grid; grid-template-columns: 70px 1fr; align-items: center; min-height: 64px; border-bottom: 1px solid var(--line); }
.source-list span { font: 700 11px/1 var(--sans); }
.source-list a { padding: 12px 0; font-weight: 700; text-underline-offset: 5px; }
.source-list a:hover { color: var(--vermilion); }

.site-footer { display: grid; grid-template-columns: 1fr minmax(280px, 1.3fr) auto; gap: 48px; align-items: start; padding: 50px clamp(24px, 5vw, 72px); color: var(--paper-light); background: var(--vermilion); border-top: 8px solid var(--ink); }
.site-footer p { margin: 0; }
.site-footer b, .site-footer span { display: block; }
.site-footer span, .site-footer .disclaimer { font: 11px/1.8 var(--sans); }
.site-footer a { min-height: 44px; font-family: var(--sans); font-size: 12px; }

.poster-dialog { width: min(92vw, 760px); max-height: 92vh; padding: 0; color: var(--paper-light); background: var(--ink); border: 1px solid var(--gold); }
.poster-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(2px); }
.dialog-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 8px 18px; background: var(--ink); border-bottom: 1px solid var(--gold); }
.dialog-bar h2 { margin: 0; font: 700 12px/1 var(--sans); letter-spacing: .15em; }
.dialog-bar button { min-width: 88px; min-height: 42px; color: var(--paper-light); background: transparent; border: 1px solid var(--gold); cursor: pointer; }
.poster-dialog > img { width: auto; height: auto; max-width: calc(100% - 48px); max-height: 72vh; margin: 24px auto; object-fit: contain; image-rendering: auto; }
.poster-dialog > p { margin: 0; padding: 0 24px 24px; font-size: 12px; }
.wide-dialog { width: min(94vw, 1280px); }
.wide-dialog > img { width: calc(100% - 48px); height: auto; aspect-ratio: 326 / 233; object-fit: contain; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr .8fr; }
  .hero-copy { padding-right: 28px; }
  .hero-poster { margin-right: 44px; }
  .archive-stage, .words { grid-template-columns: 1fr; }
  .wide-poster { border-right: 0; border-bottom: 1px solid #594d3d; }
  .archive-note { min-height: 420px; }
  .archive-note img { margin-bottom: 40px; }
  .word-cards { min-height: 760px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .brand small { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; grid-template-columns: 1fr 1fr; gap: 0; padding: 10px 20px 18px; background: var(--ink); border-bottom: 1px solid var(--gold); }
  .site-nav.open { display: grid; }
  .site-nav a { border: 1px solid #4d4336; }
  .hero { display: block; min-height: auto; padding-bottom: 88px; }
  .hero-copy { padding: 62px 24px 38px; }
  .hero h1 { font-size: clamp(46px, 15vw, 76px); }
  .hero-lead { margin-top: 32px; }
  .hero-poster { width: min(72vw, 340px); margin: 20px auto 0; }
  .hero-stamp { top: auto; bottom: 20px; }
  .manifesto, .archive-heading, .history-intro, .sources { grid-template-columns: 1fr; }
  .section-index { flex-direction: row; align-items: baseline; }
  .section-index b { font-size: 45px; }
  .essay-grid { grid-template-columns: 1fr; gap: 48px; }
  .archive-heading { margin-bottom: 38px; }
  .wide-poster figcaption { display: grid; }
  .timeline { margin: 56px 0 0; }
  .timeline li { grid-template-columns: 1fr; gap: 20px; }
  .timeline time { font-size: 48px; }
  .word-cards { grid-template-columns: 1fr; min-height: auto; }
  .word-cards article { min-height: 560px; border-left: 0; border-top: 1px solid var(--line); }
  .word-cards h3 { font-size: 54px; }
  .position-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
