/* Airlift Journal: article, index and hub pages (generated by generate-journal.mjs).
   ==============================================================================================
   Built from the "Article template" design reference (airlift-article-reference*.dc.html in the
   setup kit): values below are the reference's, on the site's own tokens. The light surface uses
   the /shop configurator's palette (#cf-shared-css in shop/index.html), including its rule that
   #0a8f6b is for FILLS only (ticks, icons, rules) and TEXT takes #087658, which clears WCAG AA
   4.5:1 on white and bone where #0a8f6b measured 3.7 to 4.1:1.

   Everything is scoped under .jr so nothing leaks into the shared header and footer. Motion is
   transform/opacity only; the reading progress bar has no transition at all.
   ============================================================================================== */
.jr {
  --jr-bone: #f3f4f1; --jr-card: #ffffff; --jr-ink: #0d1512; --jr-body: #1d2622;
  --jr-muted: #5f6763; --jr-muted-2: #4a524e;
  --jr-fill: #0a8f6b; --jr-text-green: #087658; --jr-mint: #04efae; --jr-wash: #e6f6ef; --jr-wash-2: #f3fbf8;
  --jr-line: rgba(13, 21, 18, 0.1); --jr-line-soft: rgba(13, 21, 18, 0.06); --jr-ring: inset 0 0 0 1px rgba(13, 21, 18, 0.12);
  --jr-grad: var(--accent, linear-gradient(270deg, #02f2aa 30%, #26d2e2 70%));
  --jr-grad-hover: var(--accent-hover, linear-gradient(270deg, #4efaff 0%, #20ffc8 100%));
  --jr-num: linear-gradient(90deg, #4fe3ee, #5ef0b6);
  --jr-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --jr-gutter: clamp(16px, 3vw, 48px);
  position: relative; z-index: 2;
  background: var(--jr-bone); color: var(--jr-ink);
  font-family: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
}
.jr *, .jr *::before, .jr *::after { box-sizing: border-box; }
.jr :where(p, h1, h2, h3, figure, blockquote, ol, ul) { margin: 0; }
.jr :where(ol, ul) { padding: 0; }
.jr img { display: block; max-width: 100%; height: auto; }
.jr picture { display: block; }
.jr-product__media picture, .jr-card__top picture { height: 100%; }
.jr-meta picture, .jr-bio picture { flex: 0 0 auto; }

/* Links and focus. Every interactive element: hover, focus-visible and active. */
.jr a { color: var(--jr-text-green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.jr a:hover { color: var(--jr-ink); }
.jr a:active { opacity: 0.7; }
.jr button { font-family: inherit; cursor: pointer; color: inherit; }
.jr :is(a, button, [tabindex]):focus-visible { outline: 2px solid var(--jr-fill); outline-offset: 2px; border-radius: 4px; }
.jr-band :is(a, button):focus-visible, .jr-stat a:focus-visible, .jr-hero--text :is(a, button):focus-visible { outline-color: var(--jr-mint); }

/* ---------------- reading progress ---------------- */
.jr-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; background: rgba(13, 21, 18, 0.06); pointer-events: none; }
.jr-progress__bar { height: 3px; background: var(--jr-num); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------------- shell ---------------- */
.jr-wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--jr-gutter); padding-right: var(--jr-gutter); }
.jr-crumbs { font-size: 14px; color: var(--jr-muted); }
.jr-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.jr-crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--jr-muted); }
.jr-crumbs a { color: inherit; text-decoration: none; }
.jr-crumbs a:hover { color: var(--jr-ink); text-decoration: underline; }

/* pills */
.jr-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.jr .jr-pill { text-decoration: none; }
.jr-pill { display: inline-block; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--jr-muted-2); background: var(--jr-card); padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--jr-line); text-decoration: none; }
.jr .jr-pill--cat, .jr a.jr-pill--cat:hover { color: var(--jr-ink); }
.jr-pill--cat { font-weight: 600; color: var(--jr-ink); background: var(--jr-mint); box-shadow: none; }
a.jr-pill:hover { color: var(--jr-ink); }

/* ---------------- hero ---------------- */
.jr-top { padding-top: 32px; }
.jr-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 28px 0 40px; }
.jr-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.jr-hero__media { flex: 1 1 420px; min-width: 0; }
.jr-h1 { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em; color: var(--jr-ink); }
.jr-dek { font-size: 21px; line-height: 1.5; color: var(--jr-muted-2); }
.jr-hero__img { border-radius: 28px; overflow: hidden; background: var(--jr-card); }
.jr-hero__img img { width: 100%; aspect-ratio: 650 / 560; object-fit: cover; }
.jr-cap { font-size: 13px; line-height: 1.5; color: var(--jr-muted); padding-top: 10px; }

/* full-width hero: image first, title block below */
.jr-hero--full { display: block; padding: 28px 0 40px; }
.jr-hero--full .jr-hero__img img { aspect-ratio: auto; max-height: 640px; }
.jr-hero--full .jr-hero__text { max-width: 860px; padding-top: 36px; }
.jr-hero--full.jr-hero--solo .jr-hero__text { max-width: 760px; margin: 0 auto; }

/* text-only hero: brand gradient band */
.jr-hero--text { background: linear-gradient(135deg, #0d1512 0%, #13302a 60%, #165a49 100%); color: #ffffff; }
.jr-hero--text .jr-hero__in { max-width: 840px; margin: 0 auto; padding: 40px var(--jr-gutter) 56px; display: flex; flex-direction: column; gap: 22px; }
.jr-hero--text .jr-crumbs { color: rgba(255, 255, 255, 0.7); }
.jr-hero--text .jr-crumbs li + li::before { color: rgba(255, 255, 255, 0.7); }
.jr-hero--text .jr-crumbs a:hover { color: #ffffff; }
.jr-hero--text .jr-pill:not(.jr-pill--cat) { color: #ffffff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.jr-hero--text .jr-h1 { font-size: clamp(40px, 5.4vw, 68px); color: #ffffff; }
.jr-hero--text .jr-dek { color: rgba(255, 255, 255, 0.8); }
.jr-hero--text .jr-meta, .jr-hero--text .jr-meta__line { color: rgba(255, 255, 255, 0.75); }
.jr-hero--text .jr-meta__name { color: #ffffff; }

/* meta row */
.jr-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 4px; }
.jr-avatar { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.jr-avatar--initials { display: inline-flex; align-items: center; justify-content: center; background: var(--jr-wash); color: var(--jr-ink); font-size: 15px; font-weight: 600; }
.jr-hero--text .jr-avatar { width: 36px; height: 36px; }
.jr-hero--text .jr-avatar--initials { font-size: 13px; background: rgba(255, 255, 255, 0.14); color: #ffffff; }
.jr-meta__who { display: flex; flex-direction: column; gap: 2px; }
.jr-meta__name { font-size: 15px; font-weight: 600; color: var(--jr-ink); }
.jr-meta__line { font-size: 14px; color: var(--jr-muted); }

/* ---------------- body grid ---------------- */
.jr-grid { display: flex; gap: 64px; align-items: flex-start; padding-bottom: 80px; }
.jr-grid--solo { display: block; }
.jr-grid--solo .jr-article { max-width: 760px; margin: 0 auto; padding-top: 44px; }
.jr-hero--text + .jr-grid--solo .jr-article, .jr-hero--text ~ .jr-wrap .jr-grid--solo .jr-article { padding-top: 44px; }
.jr-article { flex: 1 1 auto; min-width: 0; max-width: 720px; }
.jr-aside { flex: 0 0 240px; position: sticky; top: calc(var(--nav-h-compact, 61px) + 32px); display: flex; flex-direction: column; gap: 24px; }
.jr-aside__label { font-size: 13px; font-weight: 600; color: var(--jr-muted); }
.jr-toc { display: flex; flex-direction: column; gap: 10px; }
.jr-toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.jr-toc a { display: flex; gap: 8px; align-items: flex-start; text-decoration: none; font-size: 15px; line-height: 1.35; padding: 7px 0 7px 14px; color: var(--jr-muted); box-shadow: inset 1px 0 0 rgba(13, 21, 18, 0.12); }
.jr-toc a:hover { color: var(--jr-ink); }
.jr-toc a[aria-current="true"] { color: var(--jr-ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--jr-fill); }
.jr-toc__tick { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 2px; opacity: 0; transform: scale(0.6); transition: opacity 0.2s ease, transform 0.3s var(--jr-ease); color: var(--jr-fill); }
.jr-toc a.is-done .jr-toc__tick { opacity: 1; transform: scale(1); }
.jr-share { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--jr-line); }
.jr-share__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.jr-share__btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--jr-card); box-shadow: var(--jr-ring); color: var(--jr-ink); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.25s var(--jr-ease); }
.jr .jr-share__btn { color: var(--jr-ink); }
.jr-share__btn:hover { transform: translateY(-2px); }
.jr-share__btn:active { transform: scale(0.94); }
.jr-share__done { font-size: 13px; font-weight: 500; color: var(--jr-text-green); opacity: 0; transition: opacity 0.2s ease; }
.jr-share__done.is-on { opacity: 1; }

/* mobile contents disclosure */
.jr-mtoc { margin-bottom: 24px; }
.jr-mtoc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--jr-card); box-shadow: inset 0 0 0 1px var(--jr-line); color: var(--jr-ink); font-size: 15px; font-weight: 600; }
.jr-mtoc__btn:active { transform: scale(0.99); }
.jr-mtoc__btn svg { transition: transform 0.25s var(--jr-ease); }
.jr-mtoc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.jr-mtoc__list[hidden] { display: none; }
.jr-mtoc__list { background: var(--jr-card); border-radius: 14px; padding: 8px 18px 12px; margin-top: 10px; }
.jr-mtoc__list a { padding: 9px 0 9px 14px; }
@media (max-width: 1100px) { .jr-aside { display: none; } }
@media (min-width: 1101px) { .jr-mtoc { display: none; } }

/* ---------------- answer + summary ---------------- */
.jr-answer { font-size: 21px; line-height: 1.6; font-weight: 500; letter-spacing: -0.005em; color: var(--jr-ink); margin-bottom: 32px; }
.jr-short { background: var(--jr-card); border-radius: 22px; padding: 26px 28px; margin-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.jr-short__title { font-size: 18px; font-weight: 600; }
.jr-short ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.jr-short li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.jr-short li svg { flex: 0 0 18px; margin-top: 4px; color: var(--jr-fill); }
.jr-short--need ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.jr-short--need li { align-items: center; font-size: 15px; font-weight: 500; }
.jr-short--need li svg { margin-top: 0; }

/* ---------------- prose ---------------- */
.jr-prose > p, .jr-prose > ul, .jr-prose > ol:not(.jr-steps) { margin: 0 0 22px; font-size: 19px; line-height: 1.7; color: var(--jr-body); }
.jr-prose > ul, .jr-prose > ol:not(.jr-steps) { padding-left: 1.3em; }
.jr-prose li + li { margin-top: 6px; }
.jr-prose > h2 { margin: 56px 0 18px; font-size: clamp(28px, 3vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -0.025em; color: var(--jr-ink); }
.jr-prose > h3 { margin: 36px 0 12px; font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; color: var(--jr-ink); }
.jr-prose > :first-child { margin-top: 0; }
.jr-prose > :is(h2, h3, aside, ol.jr-steps, .jr-table, .jr-gallery, .jr-figure--column, .jr-figure--wide, .jr-quote, .jr-story) { clear: both; }
.jr-prose > blockquote { margin: 0 0 22px; padding-left: 20px; border-left: 3px solid var(--jr-line); font-size: 19px; line-height: 1.7; color: var(--jr-muted-2); }
.jr-cite a { text-decoration: none; font-size: 12px; font-weight: 600; padding: 0 2px; }
.jr-step { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--jr-ink); background: var(--jr-mint); padding: 4px 10px; border-radius: 999px; position: relative; top: -4px; margin-right: 12px; }

/* ---------------- blocks ---------------- */
.jr-stat { border-radius: 22px; background: var(--jr-ink); color: #ffffff; padding: clamp(24px, 3vw, 36px); margin: 8px 0 32px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.jr-stat__value { font-size: clamp(64px, 8vw, 96px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; background: var(--jr-num); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jr-stat__body { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.jr-stat__text { font-size: 18px; line-height: 1.5; }
.jr-stat__src { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.jr .jr-stat__src a { color: #5ef0b6; }
.jr .jr-stat__src a:hover { color: #ffffff; }

.jr-quote { margin: 36px 0; padding: 0 0 0 28px; border-left: 3px solid var(--jr-mint); }
.jr-quote blockquote p { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; color: var(--jr-ink); }
.jr-quote figcaption { font-size: 14px; color: var(--jr-muted); padding-top: 12px; }
.jr-quote--lg blockquote p { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -0.025em; }

.jr-steps { list-style: none; margin: 0 0 36px; display: flex; flex-direction: column; gap: 14px; }
.jr-steps li { background: var(--jr-card); border-radius: 20px; padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; }
.jr-steps__n { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--jr-num); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; color: var(--jr-ink); }
.jr-steps__body { display: flex; flex-direction: column; gap: 6px; }
.jr-steps__title { font-size: 19px; font-weight: 600; line-height: 1.35; }
.jr-steps__text { font-size: 17px; line-height: 1.6; color: var(--jr-muted-2); }

.jr-tip { background: var(--jr-wash); border-radius: 18px; padding: 20px 22px; margin: 4px 0 36px; display: flex; gap: 14px; align-items: flex-start; }
.jr-tip > svg { flex: 0 0 22px; margin-top: 2px; color: var(--jr-fill); }
.jr-tip__body { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.6; color: var(--jr-body); }
.jr-tip__title { font-size: 17px; font-weight: 600; color: var(--jr-ink); }
.jr-tip__body p + p { margin-top: 8px; }

.jr-table { overflow-x: auto; margin-bottom: 36px; border-radius: 20px; background: var(--jr-card); }
.jr-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.jr-table thead th { text-align: left; padding: 16px 18px; font-weight: 600; border-bottom: 1px solid var(--jr-line); }
.jr-table tbody th { text-align: left; padding: 14px 18px; font-weight: 400; color: var(--jr-muted-2); border-bottom: 1px solid var(--jr-line-soft); }
.jr-table td { padding: 14px 18px; border-bottom: 1px solid var(--jr-line-soft); }
.jr-table tbody tr:last-child > * { border-bottom: 0; }
.jr-table thead .is-hl { background: var(--jr-wash); }
.jr-table tbody .is-hl { background: var(--jr-wash-2); font-weight: 500; }

/* product card: full (placed by the author) and compact (inserted by the build) */
.jr-product { background: var(--jr-card); border-radius: 24px; overflow: hidden; margin-bottom: 40px; display: flex; flex-wrap: wrap; }
.jr-product__media { flex: 1 1 220px; min-height: 200px; background: #ffffff; }
.jr-product__media img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.jr-product__body { flex: 2 1 280px; padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.jr-product__kicker { font-size: 13px; font-weight: 600; color: var(--jr-text-green); }
.jr-product__name { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.jr-product__desc { font-size: 16px; line-height: 1.55; color: var(--jr-muted-2); }
.jr-product__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 4px; }
.jr-product__price { font-size: 14px; color: var(--jr-muted-2); }
.jr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--jr-grad); color: var(--jr-ink); font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 1px 2px rgba(13, 21, 18, 0.18), 0 10px 24px -14px rgba(4, 160, 120, 0.55); transition: transform 0.25s var(--jr-ease), box-shadow 0.25s ease; }
.jr a.jr-btn { color: var(--jr-ink); text-decoration: none; }
.jr-btn:hover { background: var(--jr-grad-hover); transform: translateY(-2px); }
.jr-btn:active { transform: translateY(0) scale(0.98); }
.jr-product--compact { clear: both; padding: 20px; margin: 12px 0 32px; align-items: center; gap: 18px; border-radius: 22px; }
.jr-product--compact .jr-product__media { flex: 0 0 96px; width: 96px; height: 96px; min-height: 0; border-radius: 16px; overflow: hidden; }
.jr-product--compact .jr-product__media img { min-height: 0; }
.jr-product--compact .jr-product__body { flex: 1 1 240px; padding: 0; gap: 6px; }
.jr-product--compact .jr-product__name { font-size: 20px; }
.jr-product--compact .jr-product__desc { font-size: 15px; }
.jr-product--compact .jr-btn { min-height: 48px; padding: 0 20px; font-size: 15px; }

.jr-story { background: var(--jr-card); border-radius: 24px; padding: 28px; margin-bottom: 40px; display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.jr-story img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.jr-story__body { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.jr-story blockquote p { font-size: 21px; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.jr-story__who { font-size: 15px; color: var(--jr-muted-2); }
.jr-story__who b { color: var(--jr-ink); font-weight: 600; }
.jr-story__note { font-size: 13px; color: var(--jr-muted); }

/* figures: column width by default; wide ones break out; portrait ones float on desktop */
.jr-figure { margin: 8px 0 32px; }
.jr-figure img { width: 100%; border-radius: 20px; }
.jr-figure figcaption { font-size: 13px; line-height: 1.5; color: var(--jr-muted); padding-top: 8px; }
.jr-figure--wide { width: min(960px, calc(100vw - 2 * var(--jr-gutter))); position: relative; left: 50%; transform: translateX(-50%); }
/* Beside the sticky contents list a centred breakout would slide under it, so there the image
   only grows to the right, into whatever room the 1240px shell leaves past the 720px column. */
@media (min-width: 1101px) {
  .jr-grid:not(.jr-grid--solo) .jr-figure--wide { left: 0; transform: none; width: min(960px, calc(100% + max(0px, min(1240px, 100vw) - 2 * var(--jr-gutter) - 1024px))); }
}
.jr-figure--portrait { float: right; width: 46%; margin: 4px 0 16px 28px; }
.jr-figure--portrait img { aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 720px) { .jr-figure--portrait { float: none; width: 100%; margin: 0 0 22px; } }
.jr-gallery { margin: 8px 0 32px; }
.jr-gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jr-gallery--3 .jr-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jr-gallery__grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; background: var(--jr-card); }
.jr-gallery figcaption { font-size: 13px; line-height: 1.5; color: var(--jr-muted); padding-top: 8px; }
@media (max-width: 480px) { .jr-gallery--3 .jr-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jr-clear { clear: both; }

/* ---------------- FAQ ---------------- */
.jr-faq { border-top: 1px solid var(--jr-line); margin-bottom: 40px; clear: both; }
.jr-faq__item { border-bottom: 1px solid var(--jr-line); }
.jr-faq h3 { font: inherit; margin: 0; }
.jr-faq__q { width: 100%; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 0; background: transparent; color: var(--jr-ink); font-size: 18px; font-weight: 600; line-height: 1.35; text-align: left; padding: 14px 4px; }
.jr-faq__q:hover { color: var(--jr-text-green); }
.jr-faq__q:active { opacity: 0.75; }
.jr-faq__q svg { flex: 0 0 20px; transition: transform 0.3s var(--jr-ease); }
.jr-faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.jr-faq__a { padding: 0 4px 20px; font-size: 17px; line-height: 1.65; color: var(--jr-muted-2); }

/* ---------------- legal copy (opt-in per article: frontmatter disclosure, ::medical-note) ---------------- */
.jr-disclosure, .jr-mednote { font-size: 14px; line-height: 1.6; color: var(--jr-muted); padding: 16px 18px; border-radius: 14px; background: rgba(13, 21, 18, 0.04); }
.jr-disclosure { margin: -12px 0 32px; }
.jr-disclosure strong { font-weight: 600; color: var(--jr-ink); }
.jr-mednote { margin: 4px 0 36px; }

/* ---------------- end matter ---------------- */
.jr-refs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.jr-refs__title { font-size: 18px; font-weight: 600; letter-spacing: 0; }
.jr-refs ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.55; color: var(--jr-muted-2); overflow-wrap: anywhere; }
.jr-refs li:target { background: var(--jr-wash); border-radius: 6px; }
.jr-bio { display: flex; gap: 16px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--jr-line); border-bottom: 1px solid var(--jr-line); }
.jr-bio .jr-avatar { width: 56px; height: 56px; }
.jr-bio__text { display: flex; flex-direction: column; gap: 4px; }
.jr-bio__name { font-size: 16px; font-weight: 600; }
.jr-bio__bio { font-size: 15px; line-height: 1.55; color: var(--jr-muted-2); }

.jr-band-wrap { padding-bottom: 64px; }
.jr-band { border-radius: 28px; background: var(--jr-ink); color: #ffffff; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; box-shadow: 0 30px 60px -40px rgba(13, 21, 18, 0.55); }
.jr-band__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.jr-band__title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.jr-band__body { font-size: 17px; color: rgba(255, 255, 255, 0.75); line-height: 1.5; }
.jr-band__ctas { flex: 0 1 280px; display: flex; flex-direction: column; gap: 10px; }
.jr-band .jr-btn { min-height: 56px; font-size: 17px; width: 100%; }
.jr .jr-band__quiz { color: rgba(255, 255, 255, 0.8); font-size: 15px; text-align: center; }
.jr .jr-band__quiz:hover { color: #ffffff; }

/* ---------------- article cards (Keep reading, index, hubs) ---------------- */
.jr-more { padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; }
.jr-more__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.jr-more__title { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.jr-more__all { font-size: 15px; font-weight: 600; }
.jr-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.jr-card { height: 100%; }
.jr .jr-card a { height: 100%; text-decoration: none; color: var(--jr-ink); background: var(--jr-card); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(13, 21, 18, 0.04); transition: transform 0.3s var(--jr-ease), box-shadow 0.3s ease; }
.jr .jr-card a:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(13, 60, 45, 0.45); }
.jr .jr-card a:active { transform: translateY(-1px) scale(0.99); }
.jr-card__top { position: relative; aspect-ratio: 16 / 10; display: flex; align-items: flex-end; padding: 16px; overflow: hidden; }
.jr-card__top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jr-card__top--science { background: linear-gradient(135deg, #e6f6ef, #c8eadb); }
.jr-card__top--guide { background: linear-gradient(135deg, #0d1512, #1f3b33); }
.jr-card__top--story { background: linear-gradient(135deg, #4fe3ee, #5ef0b6); }
.jr-card__pill { position: relative; font-size: 12px; font-weight: 600; background: #ffffff; color: var(--jr-ink); padding: 4px 10px; border-radius: 999px; }
.jr-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.jr-card__title { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.jr-card__meta { font-size: 14px; color: var(--jr-muted); }

/* ---------------- index ---------------- */
.jr-index { padding: 48px 0 96px; display: flex; flex-direction: column; gap: 28px; }
.jr-index__head { display: flex; flex-direction: column; gap: 12px; }
.jr-index__sub { font-size: 19px; line-height: 1.55; color: var(--jr-muted-2); max-width: 640px; }
.jr-filter { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.jr .jr-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--jr-card); box-shadow: var(--jr-ring); color: var(--jr-ink); font-size: 15px; font-weight: 500; text-decoration: none; transition: transform 0.25s var(--jr-ease); }
.jr .jr-filter a:hover { transform: translateY(-1px); }
.jr .jr-filter a:active { transform: scale(0.97); }
.jr .jr-filter a[aria-current="page"] { background: var(--jr-ink); color: #ffffff; box-shadow: none; }
.jr-empty { font-size: 17px; color: var(--jr-muted-2); }
.jr-pager { display: flex; gap: 12px; align-items: center; justify-content: center; font-size: 15px; }
.jr-pager span { color: var(--jr-muted); }

@media (prefers-reduced-motion: reduce) {
  .jr *, .jr *::before, .jr *::after { transition-duration: 0.01ms !important; }
}

/* ---------------- author links, standards line, author + content pages ---------------- */
.jr a.jr-meta__name { color: var(--jr-ink); text-decoration: none; }
.jr a.jr-meta__name:hover { text-decoration: underline; }
.jr-hero--text a.jr-meta__name, .jr-hero--text a.jr-meta__name:hover { color: #ffffff; }
.jr-bio__name a { color: inherit; }
.jr-standards { font-size: 14px; line-height: 1.6; color: var(--jr-muted); padding-top: 16px; }
.jr-author__who { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.jr-author__who .jr-avatar { width: 96px; height: 96px; }
.jr-author__who .jr-avatar--initials { font-size: 28px; }
.jr-author__role { font-size: 17px; color: var(--jr-muted-2); padding-top: 6px; }
.jr-author__exp { max-width: 720px; }
.jr-author__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
.jr-author .jr-more__title { padding-top: 8px; }
.jr-hero--text .jr-meta__line { color: rgba(255, 255, 255, 0.75); }
