/* Kaitu 開途 — Journal */
.journal-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.journal-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 70px); align-items: end; }
.journal-hero .h-hero { max-width: none; }
.journal-hero .hero__lede { margin-top: 0; }
.jcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(26px, 4vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); }
.jcats a { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--fs-sm); background: rgba(251,248,242,.6); transition: background .3s, color .3s, border-color .3s; }
.jcats a:hover, .jcats a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.jcats__rss { margin-left: auto; font-family: var(--f-mono); font-size: 11px !important; letter-spacing: .12em; }
@media (max-width: 860px) { .journal-hero__grid { grid-template-columns: 1fr; } .jcats__rss { margin-left: 0; } }

/* cards */
.jgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); margin-top: clamp(20px, 3vw, 34px); }
@media (max-width: 1000px) { .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .jgrid { grid-template-columns: minmax(0, 1fr); } }
.jcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid rgba(26,23,18,.06); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.jcard:hover { transform: translateY(-6px) rotate(-.3deg); box-shadow: var(--shadow-paper); }
.jcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.jcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.jcard:hover .jcard__img img { transform: scale(1.05); }
.jcard__body { padding: clamp(18px, 2.2vw, 26px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.jcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.jcat { color: var(--seal); }
.jcat:hover { text-decoration: underline; }
.jcard__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.25rem, 1rem + .8vw, 1.55rem); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.jcard__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out); }
.jcard:hover .jcard__title a { background-size: 100% 1px; }
.jcard__ex { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.jcard--lead { display: grid; grid-template-columns: 1.25fr 1fr; }
.jcard--lead .jcard__img { aspect-ratio: auto; min-height: 340px; }
.jcard--lead .jcard__body { justify-content: center; padding: clamp(24px, 4vw, 56px); gap: 16px; }
.jcard--lead .jcard__title { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3rem); line-height: 1.02; letter-spacing: -.035em; }
.jcard--lead .jcard__ex { font-size: var(--fs-md, 1.05rem); }
.jcard--lead:hover { transform: translateY(-4px); }
@media (max-width: 860px) { .jcard--lead { grid-template-columns: 1fr; } .jcard--lead .jcard__img { min-height: 0; aspect-ratio: 16 / 10; } }
.jpager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: clamp(30px, 5vw, 56px); }

/* article */
.jprogress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--seal); transform-origin: 0 50%; transform: scaleX(0); z-index: 9990; pointer-events: none; }
.jarticle__head { padding-top: clamp(120px, 14vw, 180px); max-width: 980px; }
.jarticle__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.3rem, 1rem + 4.6vw, 5rem); line-height: .98; letter-spacing: -.045em; margin-top: 18px; text-wrap: balance; font-variation-settings: 'opsz' 144, 'SOFT' 30; }
.jarticle__dek { margin-top: 22px; font-size: var(--fs-lg); line-height: 1.45; color: var(--ink-2); max-width: 44ch; }
.jarticle__by { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.jarticle__by > img { width: 42px; height: 42px; }
.jarticle__by b { display: block; font-weight: 500; }
.jarticle__by span { font: 400 12px/1.4 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.jshare { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.jshare a, .jshare__btn { font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-strong); transition: background .3s, color .3s; }
.jshare a:hover, .jshare__btn:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 640px) { .jshare { margin-left: 0; width: 100%; } }
.jarticle__cover { margin-top: clamp(28px, 4vw, 48px); }
.jarticle__cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-paper); }
@media (max-width: 640px) { .jarticle__cover img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); } }
.jarticle__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(30px, 6vw, 90px); padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(60px, 9vw, 120px); }
.jarticle__aside { position: relative; }
.jcta { position: sticky; top: 110px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; box-shadow: var(--shadow-1); }
.jcta img { width: 44px; height: 44px; }
.jcta b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.1; }
.jcta p { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.55; }
.jcta .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 960px) { .jarticle__layout { grid-template-columns: minmax(0, 1fr); } .jcta { position: static; } }

/* prose */
.prose { max-width: 68ch; font-size: clamp(1.02rem, .96rem + .25vw, 1.14rem); line-height: 1.75; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose > p:first-child::first-letter { float: left; font-family: var(--f-display); font-size: 4.2em; line-height: .82; padding: .06em .1em 0 0; color: var(--seal); }
.prose h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); margin-top: 1.9em; }
.prose h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; letter-spacing: -.015em; color: var(--ink); margin-top: 1.6em; }
.prose h4 { font-weight: 600; color: var(--ink); margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--seal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 1.4em; }
.prose ul li { position: relative; }
.prose ul li::before { content: ''; position: absolute; left: -1.1em; top: .72em; width: .45em; height: .45em; background: var(--seal); border-radius: 2px; transform: rotate(45deg); }
.prose ol { list-style: decimal; }
.prose ol li::marker { font-family: var(--f-mono); color: var(--seal); font-size: .85em; }
.prose li + li { margin-top: .5em; }
.prose blockquote { border-left: 3px solid var(--seal); padding: .2em 0 .2em 1.2em; font-family: var(--f-display); font-size: 1.25em; line-height: 1.4; color: var(--ink); }
.prose img { border-radius: var(--r); width: 100%; height: auto; }
.prose hr { border: 0; height: 1px; background: var(--line-strong); margin: 2.4em 0; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
.prose pre { background: var(--ink); color: var(--paper); padding: 18px; border-radius: var(--r); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92em; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font: 500 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* subscribe */
.jsub { border-top: 1px solid var(--line); }
.jsub__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: end; }
.jsub__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.jsub__msg { grid-column: 1 / -1; min-height: 1.2em; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 760px) { .jsub__in, .jsub__form { grid-template-columns: minmax(0, 1fr); } }

/* home: from the journal */
.home-journal .jgrid { margin-top: 0; }
.home-journal .section-head > .btn { justify-self: end; align-self: end; width: auto; }
@media (max-width: 860px) { .home-journal .section-head > .btn { justify-self: start; } }

/* film thumbnails + article film */
.jcard__img { position: relative; }
.jcard__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.jcard__loop.is-on { opacity: 1; }
.jcard__play { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px; background: rgba(26,23,18,.72); color: var(--paper); font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); }
.jcard__play::before { content: ''; width: 0; height: 0; border-left: 7px solid #E5604F; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.jarticle__film { margin-top: clamp(28px, 4vw, 48px); }
.jarticle__film .player { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-paper); }
