/* SHINDO Journal — blog index + posts. Only bl- classes live here.
   Typography for the article body comes from .doc in style.css. */

/* ---------- Shared hero ---------- */
.bl-hero { max-width: 1080px; gap: 22px; padding-bottom: 56px; }
.bl-lead { max-width: 42ch; }
.bl-title { font-size: clamp(34px, 5vw, 72px); font-weight: 300; line-height: 1.06; letter-spacing: -0.03em; max-width: 20ch; text-wrap: balance; overflow-wrap: anywhere; }
html[lang="ja"] .bl-title { line-height: 1.22; letter-spacing: -0.01em; max-width: 18em; word-break: auto-phrase; }
html[lang="ja"] .bl-lead { max-width: 30em; line-height: 1.7; }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.bl-meta a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ink-faint); }
.bl-meta a:hover { text-decoration-color: currentColor; }
.bl-meta > span[aria-hidden] { color: var(--ink-faint); }

/* ---------- Index ---------- */
.bl-index { max-width: 1080px; margin: 0 auto; padding: 0 24px clamp(90px, 12vw, 180px); }
.bl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.bl-list > li { border-bottom: 1px solid rgba(26, 29, 33, 0.14); }
.bl-card { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 16px 40px; align-items: start; padding: 44px 0; color: var(--ink); }
.bl-card__date, .bl-card__aside { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); padding-top: 10px; }
.bl-card__main { display: grid; gap: 14px; min-width: 0; }
.bl-card__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 2.9vw, 42px); line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 500ms var(--ease); display: inline; padding-bottom: 2px; }
html[lang="ja"] .bl-card__title { line-height: 1.3; letter-spacing: -0.01em; }
.bl-card__sum { display: block; font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 58ch; }
.bl-card__aside { display: grid; gap: 10px; justify-items: end; text-align: right; white-space: nowrap; }
.bl-card__go { display: inline-flex; gap: 8px; color: var(--ink); }
.bl-card__go > span[aria-hidden] { transition: transform 400ms var(--ease); }
.bl-card:hover .bl-card__title, .bl-card:focus-visible .bl-card__title { background-size: 100% 1px; }
.bl-card:hover .bl-card__go > span[aria-hidden], .bl-card:focus-visible .bl-card__go > span[aria-hidden] { transform: translateX(6px); }
.bl-card:focus-visible, .bl-back:focus-visible, .bl-about__cta:focus-visible, .bl-ladder__step:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* ---------- Post body ---------- */
.bl-post { max-width: 760px; }
.bl-post > h2:first-child { margin-top: 0; }
.bl-post h2 { text-wrap: balance; line-height: 1.15; }
html[lang="ja"] .bl-post h2 { line-height: 1.35; }
html[lang="ja"] .bl-post p, html[lang="ja"] .bl-post li { line-height: 1.85; }
.bl-post ul { list-style: none; padding: 0; margin: 1.2em 0; border-top: 1px solid rgba(26, 29, 33, 0.14); }
.bl-post ul li { padding: 14px 0; border-bottom: 1px solid rgba(26, 29, 33, 0.14); margin: 0; }
.bl-post ul li b { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.04em; color: var(--ink); }
.bl-official { margin-top: 56px !important; padding-top: 24px; border-top: 1px solid rgba(26, 29, 33, 0.14); font-size: 15px !important; color: var(--ink-soft) !important; }

.bl-phrases { margin: 1.2em 0; border-top: 1px solid rgba(26, 29, 33, 0.14); }
.bl-phrase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid rgba(26, 29, 33, 0.14); align-items: baseline; }
.bl-phrase dt { font-family: var(--font-jp); font-size: clamp(20px, 2.2vw, 26px); font-weight: 400; line-height: 1.4; }
.bl-phrase dd { margin: 0; display: grid; gap: 4px; }
.bl-phrase__romaji { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; color: var(--ink-soft); }
.bl-phrase__mean { font-size: 17px; line-height: 1.5; }

/* ---------- About box + back link ---------- */
.bl-about { margin-top: 40px; padding: clamp(28px, 4vw, 44px); background: var(--paper-2); border-radius: var(--radius-l, 28px); display: grid; gap: 16px; }
.bl-about__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.bl-about p { font-size: 16px !important; line-height: 1.6; }
.bl-about__cta, .bl-back { display: inline-flex; gap: 10px; align-items: baseline; justify-self: start; text-decoration: none !important; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.bl-about__cta > span[aria-hidden], .bl-back > span[aria-hidden] { transition: transform 400ms var(--ease); }
.bl-about__cta:hover > span[aria-hidden] { transform: translateX(5px); }
.bl-back { margin-top: 40px; border-bottom-color: transparent; color: var(--ink-soft); }
.bl-back:hover { color: var(--ink); }
.bl-back:hover > span[aria-hidden] { transform: translateX(-5px); }

/* ---------- Intensity ladder (blog-shindo-scale) ---------- */
.bl-ladder { margin: 44px 0 8px; padding: 0; }
.bl-ladder__head { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin-bottom: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.bl-ladder__head > :nth-child(2) { color: var(--ink); text-align: center; }
.bl-ladder__head > :last-child { text-align: right; }
.bl-ladder__steps { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; align-items: end; height: 132px; }
.bl-ladder__step { --h: 40%; height: var(--h); min-width: 0; padding: 0 0 10px; display: flex; align-items: flex-end; justify-content: center; border: 0; border-radius: 6px; background: var(--c); color: var(--t, var(--ink)); font-family: var(--font-display); font-size: clamp(13px, 1.5vw, 18px); font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; opacity: 0.72; transition: opacity 300ms var(--ease), transform 300ms var(--ease); transform-origin: bottom; }
.bl-ladder__step[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 1.5px var(--ink); }
.bl-ladder__step:hover { opacity: 1; }
/* JMA-style progression: grey / blue → yellow / orange → red / purple */
.bl-ladder__step--0 { --c: #D9D8D4; --h: 37%; }
.bl-ladder__step--1 { --c: #DCE6F7; --h: 44%; }
.bl-ladder__step--2 { --c: #6FBDF2; --h: 51%; }
.bl-ladder__step--3 { --c: #2456E0; --h: 58%; --t: #fff; }
.bl-ladder__step--4 { --c: #F6E3A0; --h: 65%; }
.bl-ladder__step--5 { --c: #F5DC2A; --h: 72%; }
.bl-ladder__step--6 { --c: #F29A1F; --h: 79%; }
.bl-ladder__step--7 { --c: #E0331C; --h: 86%; --t: #fff; }
.bl-ladder__step--8 { --c: #9C0F2A; --h: 93%; --t: #fff; }
.bl-ladder__step--9 { --c: #A20E66; --h: 100%; --t: #fff; }
.bl-ladder__panel { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ink); min-height: 132px; display: grid; gap: 8px; align-content: start; }
.bl-ladder__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
.bl-ladder__panel .bl-ladder__desc { font-size: 18px; line-height: 1.5; margin: 0; }
.bl-ladder__note { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .bl-card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 32px 0; }
  .bl-card__date, .bl-card__aside { padding-top: 0; }
  .bl-card__aside { display: flex; justify-content: space-between; justify-items: start; text-align: left; margin-top: 6px; }
}
@media (max-width: 600px) {
  .bl-hero { padding-bottom: 40px; }
  .bl-phrase { grid-template-columns: minmax(0, 1fr); }
  .bl-ladder__steps { gap: 2px; height: 112px; }
  .bl-ladder__step { font-size: 12px; border-radius: 4px; padding-bottom: 8px; letter-spacing: -0.03em; }
  .bl-ladder__head { grid-template-columns: 1fr 1fr; }
  .bl-ladder__head > :nth-child(2) { grid-column: 1 / -1; grid-row: 1; text-align: left; }
  .bl-ladder__panel { min-height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-card__title, .bl-card__go > span, .bl-ladder__step, .bl-about__cta > span, .bl-back > span { transition: none; }
}
