/* ============================================================
   Weavo Studio — Journal
   Editorial index of notes/posts (the SEO content engine) +
   shared article styles for individual posts.
   Loads after chrome.css. Uses tokens + base primitives.
   ============================================================ */

/* ---------- INDEX / LISTING ---------- */
.journal-head { padding-top: clamp(80px, 12vw, 150px); padding-bottom: 40px; }
.journal-deck {
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 300; line-height: 1.4; letter-spacing: -0.01em;
  color: var(--char); max-width: 720px; margin-top: 40px;
}
.journal-deck em { font-style: italic; color: var(--accent); }

.journal-section { padding-top: 20px; padding-bottom: 120px; }

/* Featured lead post */
.journal-lead {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 64px; background: var(--cream-deep);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.journal-lead:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(11,11,10,0.1); }
.journal-lead-img {
  background: linear-gradient(135deg, var(--accent-deep), var(--navy));
  min-height: 360px; position: relative; overflow: hidden;
}
.journal-lead-img::after {
  content: 'Weavo'; position: absolute; right: -20px; bottom: -40px;
  font-family: var(--serif); font-size: 180px; font-weight: 600;
  color: rgba(242,237,227,0.06); letter-spacing: -0.05em; line-height: 1;
}
.journal-lead-body { padding: 56px 52px; display: flex; flex-direction: column; }
.journal-lead-cat, .post-card-cat {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.journal-lead-cat .tag, .post-card-cat .tag { color: var(--stone); }
.journal-lead-title {
  font-family: var(--serif); font-size: clamp(32px, 4vw, 52px);
  font-weight: 400; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 22px;
}
.journal-lead-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.journal-lead-dek { font-size: 16px; line-height: 1.65; color: var(--stone); max-width: 46ch; margin-bottom: 32px; }
.journal-lead-meta, .post-card-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--stone); margin-top: auto;
  display: flex; gap: 18px; align-items: center;
}
.journal-lead-meta .read, .post-card-meta .read { color: var(--accent); }

/* Grid of posts */
.journal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card {
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 44px 40px; background: var(--cream-deep); display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(11,11,10,0.08); border-color: var(--accent); }
.post-card-title {
  font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400; line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 18px;
}
.post-card-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.post-card-dek { font-size: 15px; line-height: 1.6; color: var(--stone); margin-bottom: 30px; }
.post-card-meta { font-size: 10px; }

/* "More on the way" note */
.journal-more {
  margin-top: 56px; text-align: center; font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone);
}
.journal-more em { color: var(--accent); font-style: normal; }

/* ---------- ARTICLE (individual post) ---------- */
.article-head { padding-top: clamp(80px, 11vw, 140px); padding-bottom: 0; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-cat {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px; justify-content: center;
}
.article-title {
  font-family: var(--serif); font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 400; line-height: 1.0; letter-spacing: -0.035em;
  text-align: center; margin-bottom: 32px;
}
.article-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.article-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--stone); text-align: center;
  display: flex; gap: 18px; justify-content: center; align-items: center;
  padding-bottom: 56px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.article-meta .read { color: var(--accent); }

.article-body { padding-top: 56px; padding-bottom: 100px; }
.article-body .article-wrap > * { margin-bottom: 28px; }
.article-lede {
  font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 300; line-height: 1.4; letter-spacing: -0.01em; color: var(--char);
}
.article-lede em { font-style: italic; color: var(--accent); }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--char); max-width: var(--measure, 68ch); }
.article-body h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.025em;
  margin-top: 64px; margin-bottom: 8px;
}
.article-body h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.article-body h3 {
  font-family: var(--sans); font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em; margin-top: 40px; color: var(--cream);
}
.article-body ul, .article-body ol { padding-left: 24px; max-width: var(--measure, 68ch); }
.article-body li { font-size: 17px; line-height: 1.7; color: var(--char); margin-bottom: 12px; }
.article-body strong { font-weight: 600; color: var(--cream); }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 28px; margin: 48px 0;
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px);
  font-style: italic; font-weight: 300; line-height: 1.4; color: var(--cream); max-width: none;
}
.article-callout {
  background: var(--cream-deep); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 34px; margin: 48px 0;
}
.article-callout .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.article-callout p { margin-bottom: 0; font-size: 16px; }

/* Article footer / author + CTA */
.article-cta {
  margin-top: 72px; padding: 56px; border-radius: var(--radius);
  background: var(--ink); color: var(--cream); text-align: center;
}
.article-cta .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-glow); margin-bottom: 18px; }
.article-cta h3 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; letter-spacing: -0.025em; margin-bottom: 18px; line-height: 1.05; }
.article-cta h3 em { font-style: italic; color: var(--accent-glow); font-weight: 300; }
.article-cta p { color: rgba(242,237,227,0.75); max-width: 48ch; margin: 0 auto 32px; font-size: 16px; line-height: 1.6; }
.article-cta .btn { margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .journal-lead { grid-template-columns: 1fr; }
  .journal-lead-img { min-height: 220px; }
  .journal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .journal-lead-body { padding: 36px 28px; }
  .post-card { padding: 32px 26px; }
  .article-cta { padding: 40px 26px; }
}
