:root {
  color-scheme: light;
  --paper: #f2f0e6;
  --ink: #252823;
  --muted: #666a5f;
  --rule: #cacbc0;
  --accent: #67744d;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --mono: "Courier New", monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
::selection { color: #fff; background: #67744d; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; background: var(--ink); color: var(--paper); padding: 14px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(242,240,230,.97); border-bottom: 1px solid var(--ink); }
.header-inner { max-width: 1200px; min-height: 76px; margin: auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { font-family: var(--mono); font-size: 19px; font-weight: 700; letter-spacing: -.06em; text-decoration: none; }
.wordmark span { margin-left: 9px; color: var(--muted); font-size: 10px; letter-spacing: .09em; font-weight: 400; }
.header-inner nav { display: flex; gap: 24px; }
.header-inner nav a { display: inline-flex; align-items: center; min-height: 48px; position: relative; text-decoration: none; font-size: 12px; letter-spacing: .025em; }
.header-inner nav a[aria-current]::after { content: ""; position: absolute; height: 3px; background: var(--accent); bottom: 3px; left: 0; right: 0; }
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; line-height: 1.6; text-transform: uppercase; }
.label-rule { width: 32px; height: 1px; background: currentColor; opacity: .5; }
.journal-page, .article-page { max-width: 1200px; margin: auto; padding: 0 40px; }
.journal-intro { padding: 56px 0 52px; border-bottom: 1px solid var(--ink); }
.intro-topline, .intro-bottomline { display: flex; justify-content: space-between; gap: 32px; }
.intro-topline { color: var(--muted); }
.journal-intro h1 { font-family: var(--serif); font-size: clamp(46px, 7.7vw, 92px); font-weight: 500; letter-spacing: -.05em; margin: 48px 0 34px; line-height: 1.35; }
.journal-intro h1 span { color: var(--accent); }
.intro-bottomline { align-items: end; }
.intro-bottomline p { font-size: 14px; line-height: 2; margin: 0; }
.intro-topics { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.journal-entries { padding-top: 24px; }
.section-label { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; }
.section-label h2 { margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 500; }
.section-label h2 span { margin-left: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.entry-list { margin: 28px 0 0; padding: 0; list-style: none; }
.entry { display: grid; grid-template-columns: 1.12fr 1fr; border-bottom: 1px solid var(--ink); padding: 0 0 40px; gap: 56px; }
.entry-list li + li { margin-top: 40px; }
.entry-copy { padding: 12px 0 0; }
.entry-copy > .eyebrow { color: var(--accent); }
.entry h3 { margin: 24px 0 20px; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.65; letter-spacing: -.025em; text-wrap: balance; }
.entry h3 a { text-decoration: none; }
.title-line { display: block; }
.entry-description { max-width: 37em; font-size: 13px; color: var(--muted); line-height: 2; }
.entry-meta { display: flex; gap: 22px; color: var(--muted); font-family: var(--mono); font-size: 11px; margin-top: 24px; }
.read-link { display: inline-flex; align-items: center; gap: 48px; min-height: 48px; margin-top: 18px; font-size: 12px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ink); }
.read-link span { font-size: 21px; font-weight: 400; transition: transform .2s; }
.read-link:hover span { transform: translate(3px, -3px); }
.entry-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 375px; padding: 25px 28px; background: #e1e3d5; color: #3f4938; overflow: hidden; text-decoration: none; }
.entry-cover::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(63,73,56,.22); pointer-events: none; }
.cover-topline, .cover-bottomline { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: relative; font-family: var(--mono); font-size: 9px; letter-spacing: .02em; }
.cover-topline { z-index: 1; }
.cover-topline > span { font-size: 8px; }
.cover-mark { position: relative; align-self: center; font-family: Georgia, serif; font-size: clamp(140px, 19vw, 232px); font-weight: 400; letter-spacing: -.09em; line-height: 1.1; padding-right: .09em; }
.cover-orbit { position: absolute; width: 125%; height: 37%; border: 1px solid rgba(63,73,56,.55); border-radius: 50%; top: 33%; left: -13%; transform: rotate(-28deg); }
.cover-orbit::after { content: ""; position: absolute; width: 6px; height: 6px; background: #f2f0e6; border: 1px solid #3f4938; border-radius: 50%; top: 11%; left: 12%; }
.cover-bottomline { border-top: 1px solid rgba(63,73,56,.35); padding-top: 16px; font-family: var(--sans); font-size: 11px; }
.cover-bottomline > span { font-size: 20px; }
.journal-note { margin: 58px 0 80px; display: grid; grid-template-columns: 1fr 1.5fr auto; align-items: start; gap: 30px; }
.journal-note > .eyebrow { color: var(--muted); font-size: 10px; }
.journal-note p { font-family: var(--serif); font-size: 20px; line-height: 1.9; margin: 0; }
.journal-note a { font-size: 12px; padding: 10px 0; }
.article-breadcrumb { padding-top: 36px; display: flex; gap: 15px; font-size: 11px; color: var(--muted); }
.article-breadcrumb a { text-decoration: none; }
.article-header { padding: 52px 0 44px; border-bottom: 1px solid var(--ink); }
.article-header > .eyebrow { color: var(--accent); }
.article-header h1 { max-width: 920px; font-family: var(--serif); font-size: clamp(32px, 4.4vw, 54px); font-weight: 600; letter-spacing: -.035em; line-height: 1.65; margin: 25px 0 28px; text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 10px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.article-meta a { text-decoration: none; color: var(--ink); }
.article-meta a span { margin-left: 6px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.article-meta time { font-family: var(--mono); }
.meta-divider { width: 1px; height: 14px; background: var(--rule); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { font-size: 10px; color: var(--muted); padding: 5px 10px; border: 1px solid var(--rule); }
.article-layout { display: grid; grid-template-columns: 226px minmax(0, 720px); justify-content: space-between; gap: 48px; margin-top: 48px; }
.article-aside { position: sticky; top: 112px; align-self: start; }
.contents { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); padding: 16px 0; }
.contents summary { cursor: pointer; font-size: 11px; }
.contents summary span { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: .08em; margin-left: 8px; }
.contents ul { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: toc; }
.contents li { margin: 0; }
.contents li a { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; font-size: 11px; line-height: 1.8; text-decoration: none; color: var(--muted); }
.contents li a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 9px; color: var(--accent); }
.contents li a:hover { color: var(--ink); text-decoration: underline; }
.aside-back { display: inline-flex; padding: 22px 0; gap: 10px; font-size: 11px; text-decoration: none; }
.article-body { min-width: 0; font-size: 16px; line-height: 2.2; letter-spacing: .025em; overflow-wrap: break-word; line-break: strict; }
.article-body > p { margin: 0 0 28px; }
.article-body > p:first-of-type { font-size: 17px; line-height: 2.15; }
.article-body h2 { margin: 58px 0 25px; padding-top: 24px; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.7; letter-spacing: -.025em; }
.article-body h3 { margin-top: 34px; font-size: 19px; }
.article-body img { max-width: 100%; height: auto; }
.article-body pre { overflow-x: auto; padding: 20px; background: #e6e5da; font-size: 13px; line-height: 1.7; }
.article-body blockquote { margin: 28px 0; padding: 3px 0 3px 24px; border-left: 2px solid var(--accent); color: var(--muted); }
.article-body table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.article-body .video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 28px 0; background: #000; }
.article-body .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-body td, .article-body th { border: 1px solid var(--rule); padding: 8px 14px; }
.publication-card { background: #e5e7db; padding: 24px; margin-bottom: 32px; border-left: 2px solid var(--accent); font-size: 12px; }
.publication-card p { margin: 0 0 12px; }
.publication-card .paper-title { font-size: 18px; font-weight: 600; line-height: 1.6; }
.publication-card .paper-venue { color: var(--muted); }
.article-end { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 50px 0; }
.article-end span { width: 42px; height: 1px; background: var(--rule); }
.article-end i { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.article-footer { border-top: 1px solid var(--rule); padding-top: 24px; font-size: 11px; color: var(--muted); line-height: 1.9; }
.article-footer p { margin: 0 0 8px; }
.article-footer p:first-child { font-size: 13px; font-weight: 700; color: var(--ink); }
.article-footer p:first-child span { font-family: var(--mono); font-size: 10px; color: var(--muted); font-weight: 400; }
.article-footer a { display: inline-block; padding: 8px 0; }
.article-return { margin: 64px 0 70px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--ink); gap: 24px; }
.article-return > a { font-size: 12px; text-decoration: none; padding: 12px 0; }
.article-return > a span { margin-right: 14px; }
.article-return > .eyebrow { color: var(--muted); font-size: 9px; }
.site-footer { max-width: 1120px; margin: auto; padding: 30px 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--rule); }
.site-footer > span { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.site-footer > a:last-child { font-size: 10px; text-decoration: none; }
@media (max-width: 1200px) {
  .site-footer { margin-right: 40px; margin-left: 40px; }
}
@media (max-width: 900px) {
  .entry { gap: 30px; }
  .entry-cover { min-height: 330px; padding: 22px; }
  .cover-topline > span { display: none; }
  .intro-topics { display: none; }
  .article-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 32px; }
  .journal-note { grid-template-columns: 1fr 1.5fr; }
  .journal-note a { grid-column: 2; }
  .site-footer > span { display: none; }
}
@media (max-width: 700px) {
  :root { scroll-padding-top: 132px; }
  .header-inner { padding: 18px 22px 8px; gap: 8px; flex-wrap: wrap; }
  .header-inner > .wordmark { width: 100%; }
  .header-inner nav { width: 100%; justify-content: space-between; gap: 10px; }
  .header-inner nav a { min-height: 42px; font-size: 11px; }
  .journal-page, .article-page { padding: 0 22px; }
  .journal-intro { padding: 32px 0 30px; }
  .intro-topline > span { display: none; }
  .journal-intro h1 { margin: 32px 0 24px; font-size: clamp(36px, 9.8vw, 64px); }
  .intro-bottomline p { font-size: 12px; }
  .entry { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .entry h3 { font-size: 28px; margin-top: 18px; }
  .entry-cover { grid-row: 1; min-height: 250px; }
  .cover-topline > span { display: inline; }
  .cover-mark { font-size: 170px; line-height: 1; }
  .entry-copy { padding-top: 0; }
  .entry-description { font-size: 13px; }
  .read-link { margin-top: 12px; }
  .journal-note { margin: 36px 0 48px; gap: 20px; grid-template-columns: 1fr; }
  .journal-note p { font-size: 19px; }
  .journal-note a { grid-column: 1; }
  .article-breadcrumb { padding-top: 24px; }
  .article-header { padding: 32px 0 28px; }
  .article-header h1 { font-size: clamp(29px, 7.8vw, 42px); line-height: 1.7; margin: 18px 0 22px; }
  .article-meta { gap: 8px 18px; font-size: 10px; }
  .article-meta > a { width: 100%; font-size: 11px; }
  .meta-divider { display: none; }
  .tags { margin-top: 18px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
  .article-aside { position: static; }
  .contents { padding: 14px 0 8px; }
  .contents ul { margin-top: 8px; }
  .contents li a { padding: 8px 0; font-size: 12px; }
  .aside-back { display: none; }
  .article-body, .article-body > p:first-of-type { font-size: 15px; line-height: 2.15; }
  .article-body h2 { margin-top: 40px; font-size: 22px; padding-top: 20px; }
  .article-body > p { margin-bottom: 24px; }
  .article-return { margin: 40px 0; }
  .article-return > .eyebrow { display: none; }
  .site-footer { margin: 0 22px; padding: 24px 0 30px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  :root { background: #fff; color: #000; }
  .site-header, .site-footer, .article-aside, .article-breadcrumb, .article-return, .skip-link { display: none; }
  .article-page { max-width: none; padding: 0; }
  .article-header { padding-top: 0; }
  .article-header h1 { font-size: 28pt; }
  .article-layout { display: block; margin-top: 24px; }
  .article-body, .article-body > p:first-of-type { font-size: 11pt; line-height: 1.9; }
  .article-body h2 { break-after: avoid; font-size: 16pt; }
  .article-body p { orphans: 3; widows: 3; }
  a { text-decoration: none; }
}
