/* ============================================================
   Monorisu — Article (Pique Parlour × Morinosato aesthetic)
   ============================================================ */

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

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--fg-1);
  font-family: var(--ff-sans-jp);
  line-height: 1.85;
  font-size: 15px;
  letter-spacing: 0.01em;
  /* subtle paper grain */
  background-image:
    radial-gradient(circle at 15% 20%, rgba(191,227,201,.18) 0, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(247,203,166,.14) 0, transparent 45%),
    url('img/grain.svg');
  background-attachment: fixed;
  background-size: auto, auto, 200px;
}
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.site-header {
  background: rgba(251, 245, 236, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 200;
}
.site-header .inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 32px; height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.site-logo {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--espresso);
  text-decoration: none;
  letter-spacing: -0.02em;
  background: none;
  display: flex; align-items: baseline; gap: 2px;
}
.site-logo::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--mint-deep);
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  transform: translateY(-3px);
}
.site-logo span { color: var(--caramel-deep); font-weight: 500; }

.site-nav { display: flex; gap: 4px; list-style: none; }
.site-nav a {
  display: block; padding: 8px 16px;
  color: var(--mocha); text-decoration: none;
  font-family: var(--ff-sans-jp);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: none;
  transition: all var(--dur-base) var(--ease-soft);
}
.site-nav a:hover {
  color: var(--espresso);
  background: rgba(191, 227, 201, 0.35);
}

/* ===== Breadcrumb ===== */
.breadcrumb { background: transparent; }
.breadcrumb .inner {
  max-width: 1120px; margin: 0 auto;
  padding: 20px 32px 4px;
  font-size: 11px; color: var(--cocoa);
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.04em;
}
.breadcrumb a {
  color: var(--mocha); text-decoration: none;
  background: none;
}
.breadcrumb a:hover { color: var(--caramel-deep); }
.breadcrumb .sep { color: var(--ash); }

/* ===== Page Layout ===== */
.page-main {
  max-width: 1120px; margin: 0 auto;
  padding: 32px 32px 96px;
  display: grid; grid-template-columns: 1fr 300px; gap: 56px;
  align-items: start;
}

/* ===== Article ===== */
.article {
  background: var(--milk);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
}

/* Eyecatch — soft patisserie hero, not aggressive gradient */
.eyecatch {
  width: 100%;
  aspect-ratio: 16/8;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(247,203,166,.55), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(191,227,201,.6), transparent 55%),
    linear-gradient(135deg, #F3E9D8 0%, #FBF5EC 100%);
}
.eyecatch::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('img/pattern-dots.svg');
  background-size: 28px;
  opacity: 0.35;
  mix-blend-mode: multiply;
}
/* decorative leaves */
.eyecatch::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  top: -40px; right: -30px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%238EC4A1' stroke-width='1.5' stroke-linecap='round' opacity='0.55'><path d='M30 120 Q80 40 160 60'/><path d='M55 115 Q60 80 95 72'/><path d='M80 105 Q90 78 120 68'/><path d='M105 90 Q120 72 145 66'/><ellipse cx='60' cy='95' rx='8' ry='16' transform='rotate(-40 60 95)' fill='%23BFE3C9' fill-opacity='0.5'/><ellipse cx='95' cy='78' rx='7' ry='14' transform='rotate(-30 95 78)' fill='%23BFE3C9' fill-opacity='0.5'/><ellipse cx='130' cy='70' rx='7' ry='14' transform='rotate(-20 130 70)' fill='%23BFE3C9' fill-opacity='0.5'/></g></svg>") no-repeat center/contain;
  pointer-events: none;
}
.eyecatch-inner {
  text-align: center; z-index: 1;
  padding: 40px 48px;
  max-width: 720px;
  position: relative;
}
.eyecatch-cat {
  display: inline-block;
  background: var(--milk);
  color: var(--caramel-deep);
  font-family: var(--ff-sans-jp);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em;
  padding: 6px 18px; border-radius: 999px;
  margin-bottom: 24px;
  border: 1px solid var(--hairline);
  text-transform: uppercase;
}
.eyecatch-tag {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--caramel-deep);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.eyecatch-title {
  font-family: var(--ff-serif-jp);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--espresso);
  letter-spacing: 0.02em;
}
.eyecatch-title .big {
  display: block;
  font-size: 1.18em;
  font-weight: 600;
  margin-top: 4px;
}

/* Article Header */
.article-header {
  padding: 44px 64px 28px;
  text-align: center;
  position: relative;
}
.article-header::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--caramel);
  margin: 28px auto 0;
}
.cat-badge {
  display: inline-block;
  color: var(--mint-deep);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  position: relative;
  padding: 0 18px;
}
.cat-badge::before,
.cat-badge::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28px; height: 1px;
  background: var(--mint-deep);
}
.cat-badge::before { right: 100%; }
.cat-badge::after  { left: 100%; }
.article-title {
  font-family: var(--ff-serif-jp);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.75;
  color: var(--espresso);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-wrap: pretty;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: center;
  font-family: var(--ff-sans-jp);
  font-size: 11px; color: var(--cocoa);
  letter-spacing: 0.08em;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta .meta-ico {
  width: 12px; height: 12px; flex-shrink: 0;
  color: var(--caramel);
}

/* ===== Article Body ===== */
.article-body {
  padding: 16px 64px 72px;
  max-width: 720px;
  margin: 0 auto;
}

/* Lead */
.lead {
  position: relative;
  padding: 28px 32px 28px 48px;
  margin: 8px 0 48px;
  font-family: var(--ff-sans-jp);
  font-size: 15px;
  color: var(--mocha);
  line-height: 1.95;
  letter-spacing: 0.02em;
  background: transparent;
  border: none;
}
.lead::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--caramel);
}
.lead strong { color: var(--espresso); font-weight: 600; }

/* TOC */
.toc {
  background: var(--ivory);
  border: none;
  border-radius: var(--r-lg);
  padding: 32px 36px;
  margin: 0 0 56px;
  position: relative;
  overflow: hidden;
}
.toc::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: url('img/pattern-dots.svg') no-repeat;
  opacity: 0.3;
}
.toc-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--caramel-deep);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.toc-sub {
  font-family: var(--ff-sans-jp);
  font-size: 11px;
  color: var(--cocoa);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  font-family: var(--ff-sans-jp);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
  padding-left: 36px;
  position: relative;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  color: var(--caramel-deep);
  letter-spacing: 0.02em;
}
.toc a {
  color: var(--mocha);
  text-decoration: none;
  background-image: linear-gradient(var(--caramel-deep), var(--caramel-deep));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur-base) var(--ease-soft), color var(--dur-base) var(--ease-soft);
}
.toc a:hover { color: var(--espresso); background-size: 100% 1px; }

/* ===== Headings ===== */
.article-body h2 {
  font-family: var(--ff-serif-jp);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--espresso);
  margin: 72px 0 28px;
  padding: 0 0 0 28px;
  position: relative;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  border-radius: 0;
}
.article-body h2::before {
  content: '';
  position: absolute;
  left: 0; top: 0.45em;
  width: 14px; height: 14px;
  background: var(--mint-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(191, 227, 201, 0.45);
}
.article-body h2 .en {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
  color: var(--caramel-deep);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.article-body h3 {
  font-family: var(--ff-serif-jp);
  font-size: 18px;
  font-weight: 500;
  color: var(--espresso);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  letter-spacing: 0.02em;
}
.article-body h3::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 32px; height: 1px;
  background: var(--caramel);
}

.article-body h4 {
  font-family: var(--ff-sans-jp);
  font-size: 15px;
  font-weight: 700;
  color: var(--espresso);
  margin: 28px 0 12px;
  letter-spacing: 0.02em;
}

/* ===== Prose ===== */
.article-body p {
  margin-bottom: 22px;
  color: var(--mocha);
  line-height: 1.95;
  font-size: 15px;
  letter-spacing: 0.02em;
  font-family: var(--ff-sans-jp);
  text-wrap: pretty;
}
.article-body strong {
  color: var(--espresso);
  font-weight: 700;
  background: linear-gradient(transparent 68%, rgba(247,203,166,0.55) 68%, rgba(247,203,166,0.55) 92%, transparent 92%);
  padding: 0 2px;
}
.article-body ul, .article-body ol {
  padding-left: 4px; margin: 0 0 24px;
  list-style: none;
}
.article-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--mocha);
  line-height: 1.85;
  font-size: 14.5px;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 0.7em;
  width: 6px; height: 6px;
  background: var(--mint-deep);
  border-radius: 50%;
}
.article-body ol { counter-reset: ol; }
.article-body ol li {
  counter-increment: ol;
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  color: var(--mocha);
  line-height: 1.85;
}
.article-body ol li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 500;
  color: var(--caramel-deep);
  font-size: 14px;
}

/* ===== Tables ===== */
.table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--milk);
  box-shadow: none;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  font-family: var(--ff-sans-jp);
}
.table-wrap th {
  background: var(--ivory);
  color: var(--espresso);
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--hairline);
}
.table-wrap td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  color: var(--mocha);
  vertical-align: top;
  line-height: 1.75;
}
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap tr:nth-child(even) td { background: rgba(243, 233, 216, 0.28); }
.table-wrap td strong { background: none; padding: 0; color: var(--espresso); }

/* ===== Info Boxes (soft, no left-border accent) ===== */
.box {
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin: 28px 0;
  border: 1px solid var(--hairline);
  position: relative;
  font-family: var(--ff-sans-jp);
}
.box-tip {
  background: rgba(191, 227, 201, 0.28);
  border-color: rgba(142, 196, 161, 0.4);
}
.box-warn {
  background: rgba(247, 203, 166, 0.3);
  border-color: rgba(233, 166, 125, 0.4);
}
.box-info {
  background: rgba(201, 220, 234, 0.35);
  border-color: rgba(157, 188, 210, 0.45);
}
.box-point {
  background: rgba(245, 228, 163, 0.4);
  border-color: rgba(231, 201, 110, 0.5);
}
.box-label {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.box-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.box-tip   .box-label { color: var(--mint-deep); }
.box-warn  .box-label { color: var(--peach-deep); }
.box-info  .box-label { color: var(--powder-deep); }
.box-point .box-label { color: var(--butter-deep); }
.box p { margin-bottom: 0; font-size: 14.5px; color: var(--mocha); }
.box p + p, .box ul, .box ol { margin-top: 12px; }
.box ul li, .box ol li { font-size: 14px; }

/* ===== Figure (real image) ===== */
.figure {
  margin: 36px -16px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--milk);
}
.figure img { width: 100%; display: block; }
.figure-caption {
  padding: 14px 20px 18px;
  text-align: center;
  font-family: var(--ff-sans-jp);
  font-size: 12px;
  color: var(--cocoa);
  letter-spacing: 0.04em;
  line-height: 1.7;
  border-top: 1px solid var(--hairline);
  background: var(--ivory);
}
.figure-caption .en {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 11px;
  color: var(--caramel-deep);
  letter-spacing: 0.18em;
  margin-bottom: 4px;
  text-transform: lowercase;
}

/* ===== Scene cut (inter-chapter breather) ===== */
.scene-cut {
  margin: 64px -16px 48px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}
.scene-cut img { width: 100%; display: block; }

/* ===== Image Placeholder ===== */
.img-ph {
  background: var(--ivory);
  border: 1px dashed rgba(61,42,34,0.18);
  border-radius: var(--r-lg);
  padding: 52px 24px;
  text-align: center;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.img-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/pattern-dots.svg');
  background-size: 24px;
  opacity: 0.18;
  pointer-events: none;
}
.img-ph-icon {
  font-size: 14px;
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--caramel-deep);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.img-ph-icon::before,
.img-ph-icon::after {
  content: '—';
  margin: 0 10px;
  color: var(--ash);
}
.img-ph-title {
  font-family: var(--ff-serif-jp);
  font-size: 15px; font-weight: 500;
  color: var(--espresso);
  margin-bottom: 6px;
  position: relative;
}
.img-ph-desc {
  font-family: var(--ff-sans-jp);
  font-size: 12px;
  color: var(--cocoa);
  line-height: 1.75;
  position: relative;
}

/* ===== Summary Box ===== */
.summary-box {
  background: var(--espresso);
  color: var(--milk);
  border-radius: var(--r-xl);
  padding: 48px 52px;
  margin: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.summary-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(191,227,201,0.18), transparent 60%);
  pointer-events: none;
}
.summary-box::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(247,203,166,0.14), transparent 60%);
  pointer-events: none;
}
.summary-eyebrow {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(245, 228, 163, 0.9);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  position: relative;
}
.summary-box h3, .summary-box h2 {
  font-family: var(--ff-serif-jp);
  font-size: 22px;
  font-weight: 500;
  color: var(--milk);
  border: none;
  padding: 0;
  margin: 0 0 28px;
  position: relative;
  letter-spacing: 0.02em;
  background: none;
}
.summary-box h3::before, .summary-box h3::after,
.summary-box h2::before, .summary-box h2::after { display: none; }
.summary-box p {
  color: rgba(255,253,248,0.82);
  margin-bottom: 0;
  position: relative;
  font-size: 14.5px;
  line-height: 1.9;
}
.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
  position: relative;
  font-family: var(--ff-sans-jp);
}
.summary-table th,
.summary-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,253,248,0.12);
  font-size: 13.5px;
  vertical-align: top;
}
.summary-table th {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  color: rgba(245, 228, 163, 0.9);
  font-size: 12px;
  letter-spacing: 0.1em;
  width: 48px;
  text-transform: lowercase;
}
.summary-table td { color: rgba(255,253,248,0.92); }
.summary-table td:first-of-type {
  color: var(--milk);
  font-weight: 500;
  white-space: nowrap;
}
.summary-table tr:last-child th,
.summary-table tr:last-child td { border-bottom: none; }

/* ===== Sidebar ===== */
.sidebar { position: sticky; top: 96px; }
.widget {
  background: var(--milk);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
}
.widget-title {
  background: transparent;
  color: var(--espresso);
  font-family: var(--ff-serif-jp);
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 22px 24px 4px;
  position: relative;
}
.widget-title .en {
  display: block;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 12px;
  font-weight: 400;
  color: var(--caramel-deep);
  margin-bottom: 4px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}
.widget-title::after {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--caramel);
  margin-top: 14px;
}
.widget-body { padding: 16px 24px 24px; }
.profile-img-ph {
  width: 84px; height: 84px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--peach), var(--caramel) 80%);
  margin: 4px auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--milk);
  font-size: 28px;
  border: 3px solid var(--milk);
  box-shadow: 0 0 0 1px var(--hairline);
}
.profile-name {
  font-family: var(--ff-serif-jp);
  font-size: 15px; font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
  color: var(--espresso);
}
.profile-desc {
  font-family: var(--ff-sans-jp);
  font-size: 12.5px;
  color: var(--mocha);
  text-align: center;
  line-height: 1.85;
}

.cat-list { list-style: none; padding: 0; }
.cat-list li { padding: 0; margin: 0; }
.cat-list li::before { display: none; }
.cat-list li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  font-family: var(--ff-sans-jp);
  font-size: 13.5px;
  color: var(--mocha);
  background: none;
  transition: color var(--dur-base) var(--ease-soft), padding var(--dur-base) var(--ease-soft);
}
.cat-list li:last-child a { border-bottom: none; }
.cat-list li a:hover {
  color: var(--caramel-deep);
  padding-left: 6px;
}
.cat-list li a span {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.02em;
}

.pop-list { list-style: none; padding: 0; }
.pop-list li { padding: 0; margin: 0; border-bottom: 1px solid var(--hairline); }
.pop-list li::before { display: none; }
.pop-list li:last-child { border-bottom: none; }
.pop-list li a {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  text-decoration: none;
  color: var(--mocha);
  font-family: var(--ff-sans-jp);
  font-size: 13px;
  line-height: 1.6;
  background: none;
  transition: color var(--dur-base) var(--ease-soft);
}
.pop-list li a:hover { color: var(--caramel-deep); }
.pop-rank {
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--caramel);
  line-height: 1;
  min-width: 28px;
  letter-spacing: 0;
}
.pop-list li:nth-child(1) .pop-rank { color: var(--caramel-deep); }

/* ===== Footer ===== */
.site-footer {
  background: var(--ivory);
  color: var(--mocha);
  padding: 80px 32px 32px;
  margin-top: 96px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--caramel), transparent);
  opacity: 0.5;
}
.site-footer .inner { max-width: 1120px; margin: 0 auto; position: relative; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 26px;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline;
}
.footer-logo::before {
  content: '';
  width: 9px; height: 9px;
  background: var(--mint-deep);
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  transform: translateY(-3px);
}
.footer-logo span { color: var(--caramel-deep); font-weight: 500; }
.footer-desc {
  font-family: var(--ff-sans-jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--mocha);
  max-width: 340px;
}
.footer-col-title {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
  color: var(--caramel-deep);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; padding: 0; }
.footer-links li::before { display: none; }
.footer-links a {
  font-family: var(--ff-sans-jp);
  font-size: 13px;
  color: var(--mocha);
  text-decoration: none;
  background: none;
  transition: color var(--dur-base) var(--ease-soft);
}
.footer-links a:hover { color: var(--espresso); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--hairline);
  padding-top: 28px;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 12px;
  color: var(--cocoa);
  letter-spacing: 0.04em;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .page-main { grid-template-columns: 1fr; padding: 24px 16px 64px; gap: 32px; }
  .sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .article-header { padding: 32px 28px 20px; }
  .article-body { padding: 8px 28px 48px; }
  .summary-box { padding: 32px 28px; }
}
@media (max-width: 640px) {
  .site-header .inner { padding: 0 20px; }
  .site-nav { display: none; }
  .article-title { font-size: 20px; }
  .article-body h2 { font-size: 19px; margin-top: 52px; }
  .article-body h3 { font-size: 16px; }
  .toc { padding: 24px; }
}
