/* ============================================================
   Articles: long-form reading styles.
   Loaded after site.css on /articles and on every article page.
   Body copy is brighter and larger than the rest of the site:
   marketing pages are skimmed, articles are read.
   ============================================================ */

/* ---------- Reading progress (article pages) ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 600; pointer-events: none; }

/* ---------- Draft marker (removed when the piece is published) ---------- */
.draft-pill { display: flex; width: fit-content; align-items: center; gap: 0.5rem; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(224,185,106,0.4); background: rgba(224,185,106,0.08); padding: 0.35rem 0.8rem; border-radius: 100px; margin-bottom: 1.6rem; }
.draft-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------- Article column ---------- */
.art { max-width: 42rem; margin: 0 auto; padding: 8.5rem 1.5rem 0; }

.art-back { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 2.2rem; transition: color 0.2s; }
.art-back svg { width: 14px; height: 14px; transition: transform 0.2s; }
.art-back:hover { color: var(--gold); }
.art-back:hover svg { transform: translateX(-3px); }

.art-head { padding-bottom: 2.4rem; margin-bottom: 2.8rem; border-bottom: 1px solid var(--border); }
.art-eyebrow { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.8rem; }
.art-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.art-title { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; color: #fff; margin-bottom: 1.1rem; }
.art-dek { font-size: 1.12rem; font-weight: 400; font-style: italic; color: var(--muted); line-height: 1.6; margin-bottom: 2rem; }

.art-meta { display: flex; align-items: center; gap: 0.85rem; }
.art-meta img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(198,238,58,0.55); }
.art-author { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.art-sub { display: block; font-size: 0.76rem; color: var(--muted); line-height: 1.5; }

/* ---------- Body copy ---------- */
.art-body { font-size: 1.08rem; font-weight: 400; line-height: 1.85; color: #C8CBC0; }
.art-body p { margin-bottom: 1.45rem; }
.art-body strong { color: #fff; font-weight: 600; }
.art-body em, .art-body cite { font-style: italic; color: var(--text); }
.art-body a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(198,238,58,0.55); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.art-body a:hover { color: var(--gold); text-decoration-color: var(--gold); }

.art-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.6rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: #fff; margin: 3.4rem 0 1.2rem; }
.art-num { display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 0.55rem; }

/* "What I live by": the piece's own summary, set apart as a card */
.art-creed { margin: 3.4rem 0 2.6rem; padding: 2rem 2rem 1.6rem; background: var(--bg2); border: 1px solid var(--border); border-left: 2px solid var(--gold); border-radius: var(--r); }
.art-creed h2 { margin: 0 0 1.3rem; }
.art-creed ul { list-style: none; }
.art-creed li { position: relative; padding-left: 1.9rem; margin-bottom: 1rem; color: var(--text); line-height: 1.7; }
.art-creed li:last-child { margin-bottom: 0.4rem; }
.art-creed li svg { position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; color: var(--gold); }

/* A video or image inside the article (e.g. the magazine feature) */
.art-media { margin: 2.6rem 0 0.6rem; }
.art-media video, .art-media img { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--border); background: #000; }
.art-media figcaption { margin-top: 0.85rem; font-size: 0.86rem; line-height: 1.65; color: var(--muted); }
.art-media figcaption em, .art-media figcaption cite { color: var(--text); }
.art-media figcaption a { display: inline-block; margin-left: 0.3rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.art-media figcaption a::after { content: " \2197"; }
.art-media figcaption a:hover { text-decoration: underline; }

/* Sources the article cites, listed after the body */
.art-sources { margin: 3rem 0 0; }
.art-sources h2 { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.art-sources ol { padding-left: 1.2rem; }
.art-sources li { font-size: 0.86rem; line-height: 1.65; color: var(--muted); margin-bottom: 0.6rem; padding-left: 0.2rem; }
.art-sources li::marker { color: var(--gold); font-weight: 600; }
.art-sources a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(198,238,58,0.4); text-underline-offset: 3px; }
.art-sources a:hover { color: var(--gold); }

.art-signoff { font-size: 1.22rem; font-weight: 600; line-height: 1.6; color: #fff; margin-top: 2rem; }

/* ---------- Author box ---------- */
.art-bio { display: flex; gap: 1.2rem; align-items: flex-start; margin: 3.6rem 0 0; padding: 1.8rem 0 5rem; border-top: 1px solid var(--border); }
.art-bio img { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(198,238,58,0.55); }
.art-bio-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem; }
.art-bio-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.art-bio p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin-bottom: 0.6rem; }
.art-bio a { font-size: 0.82rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.art-bio a:hover { text-decoration: underline; }

/* ---------- /articles index ---------- */
.art-list { max-width: 46rem; margin: 0 auto; padding: 4.5rem 1.5rem 5.5rem; }
.art-card { display: block; padding: 2.1rem 2.1rem 1.9rem; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.art-card + .art-card { margin-top: 1.2rem; }
.art-card:hover, .art-card:focus-visible { border-color: rgba(198,238,58,0.5); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,0.4); outline: none; }
.art-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; font-size: 0.7rem; color: var(--muted); margin-bottom: 1rem; }
.art-card-tag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.art-card-title { font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: #fff; margin-bottom: 0.7rem; }
.art-card-dek { font-size: 0.95rem; font-style: italic; color: var(--muted); line-height: 1.65; margin-bottom: 1.4rem; }
.art-card-link { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.art-card-link svg { width: 14px; height: 14px; transition: transform 0.25s; }
.art-card:hover .art-card-link svg { transform: translateX(4px); }

@media (max-width: 600px) {
  .art { padding-top: 7rem; padding-left: 1.25rem; padding-right: 1.25rem; }
  .art-body { font-size: 1.02rem; line-height: 1.8; }
  .art-dek { font-size: 1.02rem; }
  .art-creed { padding: 1.6rem 1.3rem 1.2rem; }
  .art-bio { flex-direction: column; gap: 0.9rem; }
  .art-list { padding: 3rem 1.25rem 4rem; }
  .art-card { padding: 1.6rem 1.4rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .art-card, .art-card-link svg, .art-back svg { transition: none; }
  .art-card:hover { transform: none; }
}
