/* Journal: article cards (home and the journal page), the journal page tools, and the article page. */
.article { display: block; color: inherit; text-decoration: none; }
.article .art { background: radial-gradient(60% 80% at 50% 50%, color-mix(in srgb, var(--c) 30%, transparent), transparent); }
.article .art .stone-photo { width: 130px; height: 130px; }
.article .art.has-cover { background: var(--bg-2); }
.art-cover { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.article:hover .art-cover { transform: scale(1.04); }
.article:hover .art .gem-svg, .article:hover .art .stone-photo { transform: rotate(-6deg) scale(1.06); }
.article .art .gem-svg, .article .art .stone-photo { transition: transform .6s var(--ease); }
.article h3 { line-height: 1.15; }
.article p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.journal-more { display: flex; justify-content: center; margin-top: 28px; }

/* journal page */
.journal-page .page-title { font-size: clamp(38px, 6vw, 64px); }
.journal-tools { display: grid; gap: 14px; margin: 8px 0 18px; }
.journal-search .input { height: 52px; font-size: 16px; padding-left: 18px; }
.journal-tools .chip-row { gap: 8px; }
.journal-count { font-size: 13px; margin-bottom: 14px; }

/* article page */
.article-wrap { max-width: 780px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 18px; }
.crumbs a { color: var(--gold); }
.article-head { display: grid; gap: 12px; margin-bottom: 26px; }
.article-head h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; }
.article-head .tagline { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.article-head .lede { font-size: 19px; color: var(--muted); line-height: 1.55; }
.byline { font-size: 13.5px; }
.article-page > .wrap > .art { height: 300px; border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; margin-bottom: 30px; border: 1px solid var(--line);
  background: radial-gradient(60% 80% at 50% 50%, color-mix(in srgb, var(--c) 34%, transparent), var(--surface)); }
.article-page > .wrap > .art .stone-photo, .article-page > .wrap > .art .gem-svg { width: 170px; height: 170px; }
.prose { font-size: 17px; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 30px; margin-top: 1.6em; line-height: 1.15; }
.prose h3 { font-size: 23px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; color: var(--muted); font-style: italic; }
.prose figure img { width: 100%; border-radius: 14px; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article-tags { margin-top: 30px; }
.article-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 60px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .article-page > .wrap > .art { height: 220px; }
  .prose { font-size: 16px; }
  .article-cta .btn { flex: 1 1 100%; }
}

/* stone and purpose guides under landing pages (ui/guide.js) */
.guide { margin-top: 64px; padding-bottom: 40px; }
.guide-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-item { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.guide-item h3 { font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
.guide-item p { color: var(--muted); line-height: 1.65; font-size: 15px; }
.guide-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 760px) { .guide-qa { grid-template-columns: 1fr; } .guide-cta .btn { flex: 1 1 100%; } }

/* share links and social profiles (ui/share.js) */
.share-row, .social-profiles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.share-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.share-link, .social-profiles a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13px; color: var(--text); background: none; cursor: pointer; transition: border-color .2s, color .2s; }
.share-link:hover, .social-profiles a:hover { border-color: var(--gold); color: var(--gold); }
.share-link svg { width: 14px; height: 14px; }
.footer-social { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 30px; }
.footer-social .share-row, .footer-social .social-profiles { margin-top: 0; }
