/* ==========================================================================
   Workvolve blog - shared styles (articles + blog index)
   Posts carry no inline <style>. Layout: split hero with cover art,
   numbered contents rail on the left, reading column, closing CTA band.
   Reads fully without JS; article.js adds the contents list and progress bar.
   ========================================================================== */

:root {
  --bg: #fdfcf8;
  --fg: #1d1d1f;
  --ink-2: #424245;
  --fg-secondary: #6e6e73;
  --cream: #f0ede8;
  --cream-soft: #f7f4ee;
  --surface: #ffffff;
  --border: #e5e0d8;
  --border-soft: #eeeae3;
  --gold: #c8a455;
  --gold-deep: #a48841;
  --gold-text: #8b6f30;          /* brand gold, darkened only for small text so it passes AA */
  --gold-light: #e8d5a8;
  --gold-tint: rgba(200, 164, 85, 0.08);
  --gold-wash: rgba(200, 164, 85, 0.16);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1180px;
  --measure: 700px;
  --rail: 212px;
  --gutter: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 400; background: var(--bg); color: var(--fg); font-size: 17px; line-height: 1.7; overflow-x: clip; }
::selection { background: var(--gold); color: #fff; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Canonical nav (matches the rest of workvolve.com) ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 32px; display: flex; justify-content: center; pointer-events: none; }
.nav-shell { width: 100%; max-width: 1200px; display: flex; align-items: center; justify-content: space-between; pointer-events: auto; background: rgba(253, 252, 248, 0.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(229, 224, 216, 0.6); border-radius: 999px; padding: 10px 14px 10px 22px; transition: background 0.3s, border-color 0.3s; }
.header.scrolled .nav-shell { background: rgba(253, 252, 248, 0.92); border-color: #e5e0d8; }
.header .logo-link { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.header .logo-img { height: 28px; width: auto; display: block; filter: invert(72%) sepia(50%) saturate(480%) hue-rotate(5deg) brightness(82%); }
.header .logo-wordmark { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.03em; color: #1d1d1f; font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500; color: #1d1d1f; border-radius: 999px; transition: background 0.2s, color 0.2s; display: flex; align-items: center; gap: 4px; text-decoration: none; }
.nav-link:hover { background: rgba(200, 164, 85, 0.08); color: #1d1d1f; }
.nav-cta { margin-left: 8px; background: #1d1d1f; color: #fdfcf8; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s, transform 0.2s, color 0.2s; text-decoration: none; }
.nav-cta:hover { background: #a48841; color: #fdfcf8; transform: translateY(-1px); }
.nav-cta .arrow { display: inline-block; transition: transform 0.3s; }
.nav-cta:hover .arrow { transform: translateX(3px); }
@media (max-width: 800px) {
  .header { padding: 12px 16px; }
  .nav-shell { padding: 8px 10px 8px 16px; }
  .nav-links .nav-link:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .header .logo-wordmark { font-size: 20px; }
}

/* ---------- Reading progress (driven by article.js) ---------- */
.wvb-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- Hero: title + cover art ---------- */
.article-page { padding: 136px 0 0; }
.wvb-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--border); }
.article-header { min-width: 0; }
.breadcrumb { font-size: 13px; color: var(--fg-secondary); margin-bottom: 32px; letter-spacing: 0.01em; }
.breadcrumb a { color: var(--fg-secondary); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--fg); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.article-header h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.9vw, 64px); line-height: 1.03; letter-spacing: -0.028em; color: var(--fg); margin-bottom: 36px; text-wrap: balance; }
.wvb-cover { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden; background: var(--cream); box-shadow: 0 30px 60px -36px rgba(29, 29, 31, 0.45); }
.wvb-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Author line */
.article-meta { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; font-size: 14px; line-height: 1.45; color: var(--fg-secondary); }
.wvb-avatar { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--fg); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1; padding-bottom: 2px; }
.wvb-by { color: var(--fg); }
.wvb-by strong { font-weight: 600; }

/* ---------- Reading layout: rail on the left ---------- */
.wvb-grid { display: grid; grid-template-columns: var(--rail) minmax(0, var(--measure)); gap: 88px; align-items: start; }
.wvb-main { min-width: 0; grid-column: 2; grid-row: 1; }
.wvb-rail { grid-column: 1; grid-row: 1; position: sticky; top: 116px; display: flex; flex-direction: column; gap: 32px; max-height: calc(100vh - 140px); }

.wvb-toc[hidden], .wvb-toc-mobile[hidden] { display: none; }
.wvb-toc { min-height: 0; display: flex; flex-direction: column; }
.wvb-toc-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-secondary); margin-bottom: 16px; }
.wvb-toc-list { list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; min-height: 0; padding: 2px; }
.wvb-toc-list a { position: relative; display: grid; grid-template-columns: 30px 1fr; padding: 7px 0; font-size: 13.5px; line-height: 1.4; color: var(--fg-secondary); text-decoration: none; transition: color 0.2s; }
.wvb-toc-list a::before { content: attr(data-num); font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.25; color: var(--gold-deep); transition: color 0.2s; }
.wvb-toc-list a:hover { color: var(--fg); }
.wvb-toc-list a[aria-current="true"] { color: var(--fg); font-weight: 500; }
.wvb-toc-list a[aria-current="true"]::before { color: var(--fg); }
.wvb-toc-list a:focus-visible { outline-offset: -2px; }

/* Rail card: warm gold, not black */
.wvb-card { position: relative; flex: none; overflow: hidden; background: var(--gold-light); color: var(--fg); border-radius: 22px; padding: 110px 20px 20px; }
.wvb-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 96px; background: url(/blog/assets/covers/_card.svg) center / cover no-repeat; }
.wvb-card-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #6b5423; margin-bottom: 8px; }
.wvb-card-title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; letter-spacing: -0.015em; color: var(--fg); margin-bottom: 10px; }
.wvb-card-text { font-size: 14px; line-height: 1.55; color: #3a3a3c; margin-bottom: 18px; }
.wvb-card-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--fg); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background 0.2s; }
.wvb-card-btn::after { content: '\2192'; transition: transform 0.3s var(--ease); }
.wvb-card-btn:hover { background: #3a3a3c; }
.wvb-card-btn:hover::after { transform: translateX(3px); }
/* Short laptop screens: give the contents list the room. */
@media (max-height: 760px) { .wvb-card { display: none; } }

.wvb-toc-mobile { display: none; }

/* ---------- Article body ---------- */
.article-body { color: var(--ink-2); font-size: 18px; line-height: 1.75; }
.article-body > p:first-of-type { font-size: 21px; line-height: 1.6; color: var(--fg); margin-bottom: 30px; }
.article-body p { margin-bottom: 24px; }
.article-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.02em; color: var(--fg); margin: 88px 0 22px; scroll-margin-top: 110px; text-wrap: balance; }
.article-body h2::before { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); margin-bottom: 24px; }
.article-body h2[data-num]::before { content: attr(data-num); width: auto; height: auto; background: none; font-style: italic; font-size: 22px; line-height: 1; color: var(--gold-deep); margin-bottom: 14px; }
.article-body h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.2; letter-spacing: -0.01em; color: var(--fg); margin: 44px 0 12px; scroll-margin-top: 110px; }
.article-body h2 + h3 { margin-top: 20px; }
.article-body strong { font-weight: 600; color: var(--fg); }
.article-body a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: background 0.2s, text-decoration-color 0.2s; overflow-wrap: anywhere; }
.article-body a:hover { background: var(--gold-wash); text-decoration-color: var(--fg); }

.article-body ul, .article-body ol { list-style: none; margin: 0 0 28px; padding: 0; }
.article-body li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.article-body ul > li::before { content: ''; position: absolute; left: 5px; top: 0.72em; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.article-body ol { counter-reset: wvb-ol; }
.article-body ol > li { counter-increment: wvb-ol; padding-left: 40px; }
.article-body ol > li::before { content: counter(wvb-ol, decimal-leading-zero); position: absolute; left: 0; top: 0.1em; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--gold-text); }
.article-body li > ul, .article-body li > ol { margin: 12px 0 0; }

/* In short */
.wv-tldr { position: relative; margin: 0 0 48px; padding: 30px 32px 28px; background: var(--gold-wash); border-radius: 24px; font-size: 16.5px; line-height: 1.65; }
.article-body .wv-tldr p { margin-bottom: 14px; font-size: 16.5px; line-height: 1.65; color: var(--fg); }
.article-body .wv-tldr p.wv-tldr-label, .wv-tldr-label { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg); background: var(--fg); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; }
.wv-tldr ul { margin: 0; }
.wv-tldr li { margin-bottom: 8px; padding-left: 26px; color: var(--ink-2); }

/* Pull statement */
.wv-callout { margin: 56px 0; padding: 6px 0 6px 30px; border-left: 3px solid var(--gold); }
.article-body .wv-callout p { font-family: var(--serif); font-size: 28px; line-height: 1.28; letter-spacing: -0.012em; color: var(--fg); margin-bottom: 12px; }
.wv-callout p:last-child { margin-bottom: 0 !important; }

/* Soft note boxes */
.callout, .compliance-note { margin: 36px 0; padding: 24px 28px; background: var(--cream); border-radius: 18px; }
.article-body .callout p, .article-body .compliance-note p { font-size: 16.5px; line-height: 1.65; margin-bottom: 12px; color: var(--fg); }
.callout p:last-child, .compliance-note p:last-child { margin-bottom: 0 !important; }

/* Fact card */
.wv-stat { position: relative; margin: 44px 0; padding: 26px 30px 26px 84px; background: var(--fg); border-radius: 22px; }
.wv-stat::before { content: '\201C'; position: absolute; left: 26px; top: 14px; font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--gold); }
.article-body .wv-stat p { margin: 0; font-size: 16.5px; line-height: 1.65; color: rgba(253, 252, 248, 0.82); }
.article-body .wv-stat strong { color: var(--gold-light); }
.article-body .wv-stat a { color: var(--bg); text-decoration-color: var(--gold); }
.article-body .wv-stat a:hover { background: rgba(200, 164, 85, 0.2); }

/* Quote */
blockquote.wv-quote { margin: 52px 0; padding: 36px 0 32px; border-top: 2px solid var(--fg); border-bottom: 1px solid var(--border); }
.article-body blockquote.wv-quote p { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.25; letter-spacing: -0.01em; color: var(--fg); margin-bottom: 16px; }
blockquote.wv-quote cite { display: block; font-style: normal; font-size: 13px; letter-spacing: 0.02em; color: var(--fg-secondary); }
.article-body blockquote.wv-quote cite a { color: var(--fg-secondary); }

/* Sources */
.article-body ul.wv-sources { font-size: 14.5px; line-height: 1.6; color: var(--fg-secondary); }
.wv-sources li { margin-bottom: 10px; overflow-wrap: anywhere; }
.article-body .wv-sources a { color: var(--fg-secondary); }

/* Tables: dark header, scroll inside their own box on small screens */
.wv-table-wrap {
  margin: 36px 0 44px; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: 20px;
  background:
    linear-gradient(to right, var(--surface) 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat local,
    linear-gradient(to left, var(--surface) 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(29,29,31,0.14), transparent) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(29,29,31,0.14), transparent) right center / 12px 100% no-repeat scroll,
    var(--surface);
}
.wv-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; min-width: 640px; color: var(--ink-2); }
.wv-table th { text-align: left; font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); background: var(--fg); padding: 16px 18px; white-space: nowrap; }
.wv-table td { padding: 16px 18px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.wv-table tr:last-child td { border-bottom: none; }
.wv-table tbody tr:nth-child(even) { background: #fbf9f4; }
.wv-table tbody tr.is-us { background: var(--gold-wash); }
.wv-table tbody tr.is-us td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.wv-table tbody tr.is-us td:nth-child(2) { font-weight: 600; color: var(--fg); }
.wv-rank { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-text); }

/* Ranked entries */
.wv-entry { margin: 56px 0; padding-top: 8px; border-top: 1px solid var(--border); }
.wv-entry:first-of-type { border-top: none; }
.article-body .wv-entry h2 { margin-top: 40px; }
.wv-bestfor { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); background: var(--gold-light); border-radius: 999px; padding: 6px 13px; margin-bottom: 20px; line-height: 1.4; }
.wv-meta-row { margin-top: 24px; padding: 20px 22px; background: var(--cream); border-radius: 16px; }
.article-body .wv-meta-row p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; }
.wv-meta-row p:last-child { margin-bottom: 0 !important; }

/* Workflow cards */
.workflow-block { margin: 32px 0; padding: 28px 30px 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 18px 40px -30px rgba(29, 29, 31, 0.3); }
.workflow-block .trigger { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); background: var(--gold-light); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.article-body .workflow-block h3 { margin: 0 0 16px; font-size: 24px; }
.article-body .workflow-block ol { margin-bottom: 0; }
.article-body .workflow-block li { font-size: 16px; line-height: 1.6; margin-bottom: 10px; }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 24px 0 36px; }
.tool-pill { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 11px 16px; font-size: 14px; font-weight: 500; color: var(--fg); text-align: center; }

/* ---------- FAQ ---------- */
.wv-faq { margin: 104px 0 0; }
.wv-faq h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.02em; color: var(--fg); margin: 0 0 28px; scroll-margin-top: 110px; }
.wv-faq details { margin-bottom: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; transition: border-color 0.2s, box-shadow 0.3s; }
.wv-faq details[open] { border-color: var(--gold-light); box-shadow: 0 16px 36px -28px rgba(29, 29, 31, 0.35); }
.wv-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 22px 20px 24px; font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--fg); border-radius: 18px; }
.wv-faq summary::-webkit-details-marker { display: none; }
.wv-faq summary::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background-color: var(--gold-light);
  background-image: linear-gradient(var(--fg), var(--fg)), linear-gradient(var(--fg), var(--fg));
  background-size: 11px 1.5px, 1.5px 11px; background-position: center; background-repeat: no-repeat;
  transition: transform 0.35s var(--ease), background-color 0.2s;
}
.wv-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.wv-faq p { margin: -4px 24px 22px; font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }

/* ---------- Keep reading (also the blog index cards) ---------- */
.related-section { margin: 112px 0 0; padding: 64px 0 120px; border-top: 1px solid var(--border); }
.related-section h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.2vw, 50px); line-height: 1.02; letter-spacing: -0.022em; color: var(--fg); margin-bottom: 36px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.related-card, .post-card { display: flex; flex-direction: column; color: var(--fg); text-decoration: none; }
.related-card-image, .post-card-image { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--cream); padding: 16px; display: flex; align-items: flex-start; }
.related-card-image.gradient-cream, .related-card-image.gradient-gold, .related-card-image.gradient-dark { background: var(--cream); }
.wvb-card-cover, .post-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.related-card:hover .wvb-card-cover, .post-card:hover .post-card-image img { transform: scale(1.04); }
.related-card-eyebrow, .post-card-eyebrow { position: relative; z-index: 1; display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); background: var(--bg); border-radius: 999px; padding: 5px 11px; line-height: 1.4; box-shadow: 0 4px 12px -6px rgba(29, 29, 31, 0.3); }
.related-card-mark, .post-card-mark { display: none; }
.related-card-body, .post-card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 4px 0; }
.related-card-title, .post-card-title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.14; letter-spacing: -0.012em; color: var(--fg); text-wrap: balance; transition: color 0.2s; }
.related-card:hover .related-card-title, .post-card:hover .post-card-title { color: var(--gold-deep); }
.related-card-meta, .post-card-meta { margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-secondary); }
.related-card-meta::after, .post-card-meta::after { content: '\2192'; color: var(--gold-deep); transition: transform 0.3s var(--ease); }
.related-card:hover .related-card-meta::after, .post-card:hover .post-card-meta::after { transform: translateX(4px); }
.article-page > .container > .wvb-grid:last-child { padding-bottom: 120px; }

/* ---------- Closing CTA band ---------- */
.cta-strip { position: relative; overflow: hidden; background: var(--fg); color: #fdfcf8; padding: 128px 0; text-align: center; }
.cta-strip::before { content: ''; position: absolute; inset: 0; background: url(/blog/assets/covers/_band.svg) center / cover no-repeat; opacity: 0.6; pointer-events: none;
  /* keep the artwork to the edges so the headline stays clean */
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 16%, transparent 34%, transparent 66%, #000 84%); mask-image: linear-gradient(to right, #000 0, #000 16%, transparent 34%, transparent 66%, #000 84%); }
@media (max-width: 640px) { .cta-strip::before { opacity: 0.3; } }
.cta-strip .container { position: relative; }
.cta-strip h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.026em; color: #fdfcf8; max-width: 820px; margin: 0 auto 20px; text-wrap: balance; }
.cta-strip p { font-size: 17px; line-height: 1.65; color: rgba(253, 252, 248, 0.76); max-width: 540px; margin: 0 auto 38px; }
.btn-cta-light { display: inline-flex; align-items: center; gap: 10px; padding: 17px 30px; background: var(--gold); color: #1d1d1f; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: background 0.25s, transform 0.4s var(--ease); }
.btn-cta-light::after { content: '\2192'; transition: transform 0.3s var(--ease); }
.btn-cta-light:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-cta-light:hover::after { transform: translateX(3px); }
.btn-cta-light:focus-visible { outline-color: var(--gold); outline-offset: 4px; }

/* ---------- Footer + floating CTA (match the rest of workvolve.com) ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 13px; color: var(--fg-secondary); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--fg-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--fg); }
.floating-cta-canonical { position: fixed; bottom: 28px; right: 28px; z-index: 200; background: #1d1d1f; color: #fdfcf8; padding: 14px 22px 14px 24px; border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 12px; box-shadow: 0 12px 30px -8px rgba(28,24,21,0.4); transition: transform 0.25s, background 0.25s; }
.floating-cta-canonical::after { content: '\2192'; font-size: 16px; transition: transform 0.25s; }
.floating-cta-canonical:hover { background: #a48841; color: #fdfcf8; transform: translateY(-2px); }
.floating-cta-canonical:hover::after { transform: translateX(3px); }
@media (max-width: 600px) { .floating-cta-canonical { bottom: 16px; right: 16px; padding: 12px 18px 12px 20px; font-size: 13px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --rail: 188px; }
  .wvb-grid { gap: 56px; }
}
@media (max-width: 960px) {
  .wvb-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 48px; margin-bottom: 48px; }
  .wvb-cover { aspect-ratio: 16 / 9; }
  .wvb-grid { grid-template-columns: minmax(0, 1fr); max-width: var(--measure); margin: 0 auto; gap: 0; }
  .wvb-main { grid-column: 1; }
  .wvb-rail { display: none; }
  .wvb-hero .article-header, .wvb-hero .wvb-cover { max-width: var(--measure); width: 100%; margin: 0 auto; }
  .wvb-toc-mobile { display: block; margin: 0 0 44px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
  .wvb-toc-mobile[hidden] { display: none; }
  .wvb-toc-mobile summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-secondary); border-radius: 18px; }
  .wvb-toc-mobile summary::-webkit-details-marker { display: none; }
  .wvb-toc-mobile summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep); transform: translateY(-2px) rotate(45deg); transition: transform 0.3s var(--ease); }
  .wvb-toc-mobile[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .wvb-toc-mobile .wvb-toc-list { border-top: 1px solid var(--border-soft); padding: 8px 20px 14px; max-height: 60vh; }
  .wvb-toc-mobile .wvb-toc-list a { padding: 9px 0; font-size: 15px; }
  .related-section { max-width: var(--measure); margin-left: auto; margin-right: auto; }
  .related-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .article-page { padding-top: 108px; }
  .breadcrumb { margin-bottom: 24px; }
  .wvb-hero { gap: 28px; padding-bottom: 40px; margin-bottom: 40px; }
  .article-header h1 { margin-bottom: 28px; }
  .wvb-cover { border-radius: 20px; aspect-ratio: 16 / 10; }
  .article-body { font-size: 17px; line-height: 1.72; }
  .article-body > p:first-of-type { font-size: 19px; }
  .article-body h2 { margin-top: 68px; }
  .article-body h3 { font-size: 23px; }
  .wv-tldr { padding: 24px 20px; border-radius: 20px; }
  .wv-callout { padding-left: 20px; }
  .article-body .wv-callout p { font-size: 24px; }
  .wv-stat { padding: 64px 22px 22px; }
  .wv-stat::before { left: 20px; top: 8px; }
  .article-body blockquote.wv-quote p { font-size: 25px; }
  .wv-table-wrap { border-radius: 14px; }
  .workflow-block { padding: 22px 20px; }
  .wv-faq { margin-top: 76px; }
  .wv-faq summary { font-size: 16px; gap: 16px; padding: 18px 16px 18px 18px; }
  .wv-faq p { margin: -4px 18px 20px; font-size: 16px; }
  .related-section { margin-top: 88px; padding: 48px 0 88px; }
  .related-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .related-card-title { font-size: 23px; }
  .cta-strip { padding: 96px 0 112px; }
  .article-page > .container > .wvb-grid:last-child { padding-bottom: 88px; }
}

/* ---------- Motion + print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .related-card:hover .wvb-card-cover, .post-card:hover .post-card-image img, .btn-cta-light:hover, .nav-cta:hover, .floating-cta-canonical:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print {
  .header, .wvb-rail, .wvb-toc-mobile, .wvb-progress, .floating-cta-canonical, .cta-strip, .wvb-cover { display: none !important; }
  .article-page { padding-top: 0; }
  .wvb-grid, .wvb-hero { display: block; }
}
