/* ============================================================
   NOVARA — Journal styles (index + article)
   Reuses existing tokens: ink #0E0E0E · surface #141312 · line #272728
   · bone #F7F4EE · mist #8A8A85 · faint #6E6A63 · gold #D4AF37
   Fonts: Instrument Serif (display) · Archivo (body) · Geist Mono (labels)
   ============================================================ */

/* ---- Index: featured article ---- */
.nv-jn-feature { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .nv-jn-feature { grid-template-columns: 1.25fr 1fr; gap: 56px; } }
.nv-jn-feature__media { position: relative; overflow: hidden; background: #141312; border: 1px solid #1c1b1a; aspect-ratio: 3 / 2; }
.nv-jn-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .nv-jn-feature__media img, .nv-jn-card__media img { transition: transform 1.4s cubic-bezier(.16,1,.3,1); }
  .nv-jn-feature:hover .nv-jn-feature__media img, .nv-jn-card:hover .nv-jn-card__media img { transform: scale(1.035); }
}
.nv-jn-meta { display: flex; align-items: center; gap: 14px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8A8A85; }
.nv-jn-meta .cat { color: #D4AF37; }
.nv-jn-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #3a3835; }

/* ---- Index: article grid ---- */
.nv-jn-grid { display: grid; grid-template-columns: 1fr; gap: 40px 28px; }
@media (min-width: 640px) { .nv-jn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nv-jn-grid { grid-template-columns: repeat(3, 1fr); } }
.nv-jn-card { display: block; }
.nv-jn-card__media { position: relative; overflow: hidden; background: #141312; border: 1px solid #1c1b1a; aspect-ratio: 4 / 3; }
.nv-jn-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-jn-card__title { transition: color .3s ease; }
.nv-jn-card:hover .nv-jn-card__title, .nv-jn-card:focus-visible .nv-jn-card__title { color: #F7F4EE; }
.nv-jn-card:focus-visible { outline: 2px solid #D4AF37; outline-offset: 4px; }

/* ---- Article ---- */
.nv-article-hero { position: relative; overflow: hidden; background: #141312; border-bottom: 1px solid #272728; aspect-ratio: 16 / 7; }
.nv-article-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-article-measure { max-width: 680px; margin-left: auto; margin-right: auto; }
.nv-article-title { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 1.06; color: #F7F4EE; font-size: 38px; }
@media (min-width: 768px) { .nv-article-title { font-size: 52px; } }
.nv-article-lead { font-family: "Instrument Serif", Georgia, serif; font-size: 24px; line-height: 1.5; color: #cfc9bf; }
@media (min-width: 768px) { .nv-article-lead { font-size: 27px; } }
.nv-article-body > * + * { margin-top: 26px; }
.nv-article-body p { font-family: "Archivo", system-ui, sans-serif; font-size: 17px; line-height: 1.8; color: #b7b2a9; }
.nv-article-body h2 { font-family: "Instrument Serif", Georgia, serif; font-size: 28px; line-height: 1.15; color: #F7F4EE; margin-top: 44px; }
.nv-article-body figure { margin: 44px 0; }
.nv-article-body figure img { width: 100%; display: block; border: 1px solid #1c1b1a; background: #141312; }
.nv-article-body figcaption { margin-top: 12px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #6E6A63; }
.nv-article-quote { margin: 44px 0; padding-left: 26px; border-left: 2px solid #D4AF37; }
.nv-article-quote p { font-family: "Instrument Serif", Georgia, serif; font-size: 26px; line-height: 1.4; color: #F7F4EE; }
.nv-article-quote cite { display: block; margin-top: 14px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #D4AF37; font-style: normal; }

.nv-jn-back { display: inline-flex; align-items: center; gap: 8px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A8A85; transition: color .25s ease; }
.nv-jn-back svg { width: 15px; height: 9px; }
.nv-jn-back:hover { color: #F7F4EE; }
.nv-jn-back:focus-visible { outline: 2px solid #D4AF37; outline-offset: 3px; }

/* ---- Reveal (journal-owned observer; content is rendered dynamically) ---- */
@media (prefers-reduced-motion: no-preference) {
  .nv-jn-reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0ms); }
  .nv-jn-reveal.is-in { opacity: 1; transform: none; }
}
