/* GK Digital — article.css (page-specific) */

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: transparent; }
  .read-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }

  .article-head { padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 36px); }
  .breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); margin-bottom: 1.6rem; flex-wrap: wrap; }
  .breadcrumb a:hover { color: var(--ink); }
  .breadcrumb .sep { opacity: 0.5; }
  .article-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; margin-bottom: 1.4rem; max-width: 18ch; }
  .article-meta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
  .author { display: flex; align-items: center; gap: 0.7rem; }
  .author .av { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
  .author .nm { font-weight: 600; font-size: 0.95rem; }
  .author .rl { font-size: 0.82rem; color: var(--muted); }
  .meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
  .article-meta .info { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }

  .hero-figure { margin: clamp(2rem, 4vw, 3rem) 0; }
  .hero-figure .ph { aspect-ratio: 21/9; border-radius: var(--r-xl); background: var(--surface-2); position: relative; background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 13px); display: grid; place-items: center; }
  .hero-figure .ph-tag { font-family: var(--font-mono); font-size: 0.74rem; color: var(--muted); background: var(--surface); padding: 0.5em 0.9em; border-radius: 6px; border: 1px solid var(--line); }

  /* Article layout w/ TOC */
  .article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px) 1fr; gap: 3rem; align-items: start; }
  .toc { position: sticky; top: 100px; }
  .toc h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
  .toc a { display: block; padding: 0.4rem 0 0.4rem 0.9rem; border-left: 2px solid var(--line); font-size: 0.88rem; color: var(--ink-soft); transition: all .2s; }
  .toc a:hover { color: var(--ink); border-color: var(--line-strong); }
  .toc a.active { color: var(--accent-deep); border-color: var(--accent); font-weight: 600; }

  .share { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 0.6rem; }
  .share .slabel { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
  .share button, .share .share-btn { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-soft); transition: all .2s; }
  .share button:hover, .share .share-btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

  /* Article body typography */
  .article-body { font-size: 1.16rem; line-height: 1.75; color: var(--ink-soft); }
  .article-body > p { margin-bottom: 1.5rem; }
  .article-body .chapeau { font-size: 1.32rem; line-height: 1.5; color: var(--ink); font-weight: 500; margin-bottom: 2rem; }
  .article-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 2.8rem 0 1.1rem; scroll-margin-top: 100px; color: var(--ink); }
  .article-body h3 { font-size: 1.35rem; margin: 2rem 0 0.8rem; color: var(--ink); }
  .article-body a.inline { color: var(--accent-deep); border-bottom: 1px solid var(--accent); font-weight: 500; }
  .article-body ul.bullets { margin: 0 0 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
  .article-body ul.bullets li { padding-left: 1.8rem; position: relative; }
  .article-body ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); }
  .article-body strong { color: var(--ink); font-weight: 600; }

  .pullquote { margin: 2.4rem 0; padding: 1.8rem 2rem; border-left: 4px solid var(--accent); background: var(--accent-wash); border-radius: 0 var(--r-md) var(--r-md) 0; }
  .pullquote p { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.35; color: var(--ink); font-weight: 500; margin: 0; }

  .callout { margin: 2.2rem 0; padding: 1.5rem 1.7rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); display: flex; gap: 1rem; }
  .callout .ci { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; background: var(--accent-wash); color: var(--accent-deep); display: grid; place-items: center; }
  .callout .ci svg { width: 20px; height: 20px; }
  .callout p { margin: 0; font-size: 1rem; }
  .callout strong { display: block; margin-bottom: 0.2rem; color: var(--ink); }

  .body-figure { margin: 2.4rem 0; }
  .body-figure .ph { aspect-ratio: 16/9; border-radius: var(--r-md); background: var(--surface-2); position: relative; background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 12px); display: grid; place-items: center; }
  .body-figure figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.7rem; text-align: center; }
  .body-figure .ph-tag { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); background: var(--surface); padding: 0.5em 0.9em; border-radius: 6px; border: 1px solid var(--line); }

  /* Author box */
  .author-box { margin-top: 3.5rem; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; gap: 1.3rem; align-items: center; background: var(--surface); }
  .author-box .av { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-wash); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; flex-shrink: 0; }
  .author-box .nm { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
  .author-box .rl { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.4rem; }
  .author-box p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

  /* Inline CTA */
  .article-cta { margin: 3rem 0 0; padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--r-xl); background: var(--night); color: var(--on-night); text-align: center; }
  .article-cta h3 { color: var(--on-night); font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 0.7rem; }
  .article-cta p { color: var(--on-night-soft); margin-bottom: 1.6rem; max-width: 46ch; margin-inline: auto; }

  /* Related */
  .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
  .post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
  .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
  .post-thumb { aspect-ratio: 16/10; background: var(--surface-2); position: relative; background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 12px); }
  .post-thumb .cat { position: absolute; top: 12px; left: 12px; }
  .post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
  .post-body .pmeta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); margin-bottom: 0.7rem; }
  .post-body h3 { font-size: 1.12rem; line-height: 1.2; }

  @media (max-width: 1080px) {
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .toc, .share { display: none; }
  }
  @media (max-width: 760px) {
    .related-grid { grid-template-columns: 1fr; }
  }
