/* markjournal.app · the journal (blog) · sits on home.css tokens */
body.blog { background: var(--bg); }
.blog .nav { background: rgba(15,14,12,.62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.blog .nav .links a.on { color: #fff; }
.col { max-width: 680px; margin: 0 auto; padding-inline: var(--gutter); }
.bhead { padding: calc(150px + env(safe-area-inset-top,0px)) 0 56px; }
.bhead h1 { font-size: clamp(46px, 8vw, 96px); margin-top: 26px; }
.bhead .lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin-top: 22px; max-width: 46ch; }
/* index */
.posts { border-top: 1px solid var(--line); padding-bottom: 120px; }
.card { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.card .img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.card .img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .img img { transform: scale(1.03); }
.card h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 16px 0 14px; }
.card h2 .serif { color: var(--ember); }
.card p { color: var(--ink-2); }
.card .more { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--ember); }
.card .more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }
@media (max-width: 760px) { .card { grid-template-columns: 1fr; padding: 32px 0; } }
/* post */
.phead { padding: calc(150px + env(safe-area-inset-top,0px)) 0 48px; }
.phead h1 { font-size: clamp(48px, 8.6vw, 104px); margin-top: 26px; }
.phead h1 .serif { color: var(--ember); }
.byline { margin-top: 30px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.byline span + span::before { content: "·"; margin-right: 14px; color: var(--ink-4); }
.hero-img { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.hero-img figure { margin: 0; }
.hero-img img { width: 100%; height: auto; aspect-ratio: 16/8; object-fit: cover; object-position: center 40%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); margin-top: 14px; }
.prose { padding: 72px 0 40px; font-size: 19.5px; line-height: 1.75; color: var(--ink); }
.prose p + p { margin-top: 1.2em; }
.prose > p.first { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.3; color: var(--ink); margin-bottom: 1.4em; }
.prose h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.1; margin: 2.2em 0 .8em; }
.prose h2 .n { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .26em; color: var(--ember); margin-bottom: 14px; }
.prose .pull { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.3; color: var(--ember); border-left: 2px solid var(--ember); padding-left: 24px; margin: 1.6em 0; }
.prose .sign { font-family: var(--serif); font-style: italic; font-size: 30px; margin-top: 1.6em; }
.wide { max-width: 1000px; margin: 40px auto; padding-inline: var(--gutter); }
.wide img { width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--shadow); }
.endcta { border-top: 1px solid var(--line); margin-top: 40px; padding: 56px 0 120px; display: grid; gap: 22px; justify-items: start; }
.endcta h3 { font-size: clamp(30px, 4vw, 44px); }
.endcta .l2 { font-family: var(--serif); font-style: italic; font-weight: 500; }
.endcta .back { font-size: 15px; color: var(--ink-3); }
.endcta .back:hover { color: var(--ink); }
@media (max-width: 640px) { .prose { font-size: 18px; padding-top: 48px; } .hero-img img { aspect-ratio: 4/3; border-radius: var(--r-md); } }
.hero-img.natural { max-width: 1000px; }
.hero-img.natural img { aspect-ratio: auto; }
.storynote { font-family: var(--serif); font-style: italic; color: var(--ink-3); font-size: 17px; margin-top: 18px; }
.prose strong { font-weight: 700; }
@media (max-width: 640px) { .hero-img.natural img { aspect-ratio: auto; } }
