/* =====================================================================
   Workvolve theme v2: the blog (every post and the blog index).
   Load after theme-v2.css. Built from demo K's templates (templates-v2.css),
   plus styles for the older article parts the live posts still use
   (summaries, stat boxes, pull lines, rankings, sources, workflow cards).
   1 shared bits . 2 audit card (now audit-v2.css) . 3 post . 4 older article parts . 5 cards
   6 index . 7 breakpoints . 8 reduced motion
   ===================================================================== */

/* ---------- 1. shared bits ---------- */
main{position:relative;isolation:isolate}
.nav-link[aria-current="page"]{color:var(--ink);background:rgba(29,29,31,.05)}
.mm-links a[aria-current="page"]{color:var(--gold-ink)}

/* warm haze behind the top of the page, same family as the homepage sky */
.pg-sky{position:absolute;left:0;right:0;top:0;height:clamp(640px,86vh,920px);z-index:-1;pointer-events:none;background:
  radial-gradient(44% 54% at 88% 6%,rgba(240,222,180,.62),rgba(240,222,180,0) 72%),
  radial-gradient(40% 46% at 6% 0%,rgba(255,255,255,.95),rgba(255,255,255,0) 70%),
  linear-gradient(180deg,#fbf6ec 0%,#fcf9f2 55%,#fdfcf8 100%)}
.pg-sky::after{content:"";position:absolute;inset:0;opacity:.3;mix-blend-mode:multiply;-webkit-mask-image:linear-gradient(180deg,#000 30%,transparent);mask-image:linear-gradient(180deg,#000 30%,transparent);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .42 0 0 0 0 .28 0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}

/* Ben's photo as a small avatar with a thin gold ring */
.ph{border-radius:50%;object-fit:cover;flex:none;background:var(--gold-tint);box-shadow:0 0 0 2px #fff,0 0 0 3.5px rgba(200,164,85,.55)}

/* booking card variants: Ben's photo instead of the mark, a compact rail size, an author line */
.book-av.is-photo{padding:0;overflow:hidden;border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3.5px rgba(200,164,85,.5)}
.book-av.is-photo img{width:100%;height:100%;object-fit:cover}
.book-rows li .i{flex:none}
.cta-from{display:flex;align-items:center;gap:13px;margin-bottom:24px}
.cta-from .ph{width:54px;height:54px}
.cta-from>span{display:flex;flex-direction:column;line-height:1.35;font-size:13.5px;color:var(--ink-3)}
.cta-from b{font-size:15px;font-weight:600;letter-spacing:-.015em;color:var(--ink)}

/* ---------- 2. the audit card: shared with the service pages, in audit-v2.css and audit-v2.js ---------- */

/* ---------- 3. blog post ---------- */
.read-bar{position:fixed;left:0;right:0;top:0;z-index:60;height:2px;background:linear-gradient(90deg,#d8bb73,#c39d4c);transform-origin:0 50%;transform:scaleX(0);pointer-events:none}
.post-top{position:relative;padding-top:clamp(118px,12vw,156px)}
.post-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:clamp(32px,4.5vw,64px);align-items:center;max-width:1080px;margin:0 auto}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px 9px;margin-bottom:22px;font-size:13.5px;color:var(--ink-3)}
.crumbs nav{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 9px}
.crumbs a{color:var(--ink-2);transition:color .25s}
.crumbs a:hover{color:var(--ink)}
.crumbs .sep{color:var(--ink-4)}
.post-title{font-size:clamp(2.125rem,1.15rem + 2.75vw,3.5rem);line-height:1.05;letter-spacing:-.045em;font-weight:500;color:var(--ink);text-wrap:balance}
/* the longest live titles (80+ characters) step down a size so they stay at three or four lines */
.post-title.is-long{font-size:clamp(2rem,1.1rem + 2.2vw,2.875rem);line-height:1.07}
.post-dek{margin-top:20px;max-width:600px;font-size:clamp(1.0625rem,.98rem + .3vw,1.1875rem);line-height:1.55;color:var(--ink-2);text-wrap:pretty}
.byline{margin-top:28px;display:flex;align-items:center;gap:14px}
.byline .ph{width:46px;height:46px}
.byline-t{display:flex;flex-direction:column;line-height:1.4}
.wvb-by{font-size:14.5px;color:var(--ink-2)}
.wvb-by strong{font-weight:600;color:var(--ink)}
.wvb-by a{color:inherit}
.wvb-by a:hover strong{color:var(--gold-ink)}
.wvb-when{font-size:13.5px;color:var(--ink-3)}
.post-cover{position:relative;margin:0;border-radius:var(--r-lg);overflow:hidden;aspect-ratio:16/10;background:var(--sand);box-shadow:var(--sh-lg)}
.post-cover img{width:100%;height:100%;object-fit:cover}
.post-wrap{padding-top:clamp(52px,6vw,88px)}
.post-grid{display:grid;grid-template-columns:minmax(0,720px) 288px;justify-content:space-between;align-items:start;max-width:1080px;margin:0 auto}
.post-main{min-width:0}

/* article body: theme prose, tuned for long reads. Text lines stay near 68 characters; tables use the full column */
.article-body.prose{max-width:none;margin:0;font-size:clamp(1.03rem,.95rem + .3vw,1.15625rem);line-height:1.72;color:var(--ink-2)}
.article-body>p,.article-body>ul,.article-body>ol,.article-body>h3{max-width:31.5em}
.article-body>h2{max-width:21em}
.article-body>p:first-child{font-size:1.1em;line-height:1.62;color:var(--ink)}
.article-body h2{margin-top:2.3em;font-size:clamp(1.5rem,1.18rem + .95vw,2rem);line-height:1.16;letter-spacing:-.036em}
.article-body p,.article-body li{overflow-wrap:break-word}
.article-body>ul>li+li{margin-top:.55em}
.article-body>ol{list-style:none;padding-left:0;counter-reset:step}
.article-body>ol>li{position:relative;counter-increment:step;padding-left:50px}
.article-body>ol>li+li{margin-top:1.05em}
.article-body>ol>li::before{content:counter(step);position:absolute;left:0;top:.08em;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:inset 0 0 0 1px var(--line-gold),0 5px 12px -7px rgba(140,109,44,.55);font-size:13px;font-weight:600;line-height:1;color:var(--gold-ink)}
.article-body>ol>li::after{content:"";position:absolute;left:14.5px;top:2.25em;bottom:-.95em;width:1px;background:linear-gradient(rgba(200,164,85,.55),rgba(200,164,85,.12))}
.article-body>ol>li:last-child::after{display:none}
.article-body .callout{position:relative;max-width:33em;margin-top:1.6em;margin-bottom:1.6em;padding:20px 24px 20px 28px;border-radius:18px;background:linear-gradient(180deg,#fbf6ea,#f8f0dd);box-shadow:inset 0 0 0 1px rgba(200,164,85,.34);font-size:.95em;line-height:1.62;color:var(--ink)}
.article-body .callout::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:0 3px 3px 0;background:var(--gold)}
.article-body .callout+*{margin-top:1.6em}
.article-body .callout p+p{margin-top:.75em}
.article-body .wv-table-wrap{position:relative;margin:1.8em 0;overflow-x:auto;border-radius:18px;background:#fff;box-shadow:var(--sh-sm);-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#e2d6bc transparent}
.article-body .wv-table-wrap.can-scroll:not(.at-end){-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 56px),transparent)}
.article-body .wv-table{width:100%;min-width:600px;border-collapse:collapse;font-size:14.5px;line-height:1.55}
.article-body .wv-table:has(th:nth-child(5)){min-width:720px;font-size:14px}
.article-body .wv-table:has(th:nth-child(5)) th,.article-body .wv-table:has(th:nth-child(5)) td{padding:13px 13px}
.article-body .wv-table th{padding:14px 16px;text-align:left;vertical-align:bottom;font-size:13px;font-weight:600;letter-spacing:-.005em;color:var(--ink);background:#fbf8f1;border-bottom:1px solid var(--line-2)}
.article-body .wv-table td{padding:14px 16px;vertical-align:top;color:var(--ink-2);border-bottom:1px solid var(--line)}
.article-body .wv-table tr:last-child td{border-bottom:0}
.article-body .wv-table td:first-child{min-width:118px;color:var(--ink)}
.article-body .wv-table tbody tr:hover td{background:#fdfbf6}
.article-body .sources{font-size:.9em;line-height:1.6}
.article-body .sources a{text-decoration-color:rgba(200,164,85,.5);text-decoration-thickness:1px}
.article-body .sources li+li{margin-top:.5em}
.article-body .checked{font-size:.9em;color:var(--ink-3)}
/* questions at the end of a post: native details, styled like the homepage questions */
.wv-faq{margin-top:clamp(56px,7vw,88px)}
.wv-faq h2{margin-bottom:22px;font-size:clamp(1.75rem,1.3rem + 1.3vw,2.375rem);line-height:1.1;letter-spacing:-.04em;font-weight:500;color:var(--ink)}
.wv-faq details{border-bottom:1px solid var(--line-2)}
.wv-faq details:first-of-type{border-top:1px solid var(--line-2)}
.wv-faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 2px;list-style:none;cursor:pointer;font-size:17.5px;font-weight:500;letter-spacing:-.02em;line-height:1.4;color:var(--ink);border-radius:8px}
.wv-faq summary::-webkit-details-marker{display:none}
.wv-faq summary::after{content:"";width:30px;height:30px;flex:none;border-radius:50%;background:linear-gradient(var(--ink),var(--ink)) center/11px 1.5px no-repeat,linear-gradient(var(--ink),var(--ink)) center/1.5px 11px no-repeat,#fff;box-shadow:inset 0 0 0 1px var(--line-2);transition:background-color .3s}
.wv-faq details[open] summary::after{background:linear-gradient(var(--ink),var(--ink)) center/11px 1.5px no-repeat,var(--gold);box-shadow:none}
.wv-faq details p{padding:0 60px 22px 2px;font-size:16px;line-height:1.68;color:var(--ink-2);animation:faqIn .3s var(--ease)}
.wv-faq details a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}
/* rail: contents and a compact booking card */
.rail{position:sticky;top:100px;display:flex;flex-direction:column;gap:28px}
.toc-h{margin-bottom:12px;font-size:13px;font-weight:600;letter-spacing:-.005em;color:var(--ink)}
.toc-list{max-height:max(150px,calc(100vh - 540px));overflow:auto;overscroll-behavior:contain;border-left:1px solid var(--line-2);scrollbar-width:thin;scrollbar-color:#e2d6bc transparent}
.toc-list a{display:block;margin-left:-1px;padding:6px 0 6px 15px;border-left:2px solid transparent;font-size:13.5px;line-height:1.42;color:var(--ink-3);transition:color .25s,border-color .25s}
.toc-list a:hover{color:var(--ink)}
.toc-list a[aria-current="true"]{color:var(--ink);font-weight:500;border-left-color:var(--gold)}
.toc-m{display:none;margin-bottom:34px;border-radius:16px;background:rgba(255,255,255,.82);border:1px solid #fff;box-shadow:var(--sh-sm)}
.toc-m summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;list-style:none;cursor:pointer;font-size:15px;font-weight:550;letter-spacing:-.015em;color:var(--ink);border-radius:16px}
.toc-m summary::-webkit-details-marker{display:none}
.toc-m summary .i{width:16px;height:16px;color:var(--ink-3);transition:transform .35s var(--ease)}
.toc-m[open] summary .i{transform:rotate(180deg)}
.toc-m .toc-list{max-height:none;margin:0 18px 14px;border-left:1px solid var(--line-2)}
.book-rail{justify-self:auto;width:100%;padding:18px 18px 16px}
.book-rail .book-who{gap:12px;padding-bottom:14px}
.book-rail .book-av{width:42px;height:42px}
.book-rail .book-t{font-size:16.5px}
.book-pitch{padding:13px 0 0}
.book-pitch b{display:block;font-size:15px;font-weight:600;letter-spacing:-.02em;line-height:1.35;color:var(--ink)}
.book-pitch p{margin-top:5px;font-size:13.5px;line-height:1.5;color:var(--ink-2)}
.book-rail .book-rows{flex-direction:row;flex-wrap:wrap;gap:6px 16px;padding:12px 0 14px}
.book-rail .book-rows li{font-size:13.5px;gap:7px}
.book-rail .btn{--h:46px;font-size:14.5px}
.book-rail .btn .btn-ico{width:34px;height:34px}
.post-end .cta-h{font-size:clamp(2rem,1.35rem + 1.9vw,3.125rem);line-height:1.06;text-wrap:balance}
/* end of the post */
.post-end{padding:clamp(72px,9vw,120px) 0 0}
.post-end .container,.related .container{max-width:1080px}
.related{padding:clamp(72px,9vw,120px) 0 clamp(72px,9vw,112px)}
.related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}
.related-head h2{font-size:clamp(1.75rem,1.3rem + 1.4vw,2.5rem);line-height:1.1;letter-spacing:-.04em;font-weight:500;color:var(--ink)}
.more-link{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;font-weight:500;color:var(--ink);white-space:nowrap}
.more-link .i{width:15px;height:15px;transition:transform .4s var(--ease)}
.more-link:hover .i{transform:translateX(3px)}

/* ---------- 4. older article parts (the live posts' own markup, kept word for word) ---------- */
/* shared rhythm for anything boxed inside the article */
.article-body>.wv-tldr,.article-body>.wv-stat,.article-body>.wv-callout,.article-body>.callout,.article-body>.compliance-note,.article-body>.workflow-block,.article-body>.wv-quote{max-width:34em}
.article-body .wv-tldr>*+*,.article-body .wv-stat>*+*,.article-body .wv-callout>*+*,.article-body .wv-entry>*+*,.article-body .workflow-block>*+*,.article-body .compliance-note>*+*,.article-body .wv-quote>*+*,.article-body .wv-meta-row>*+*{margin-top:.85em}

/* "In short": the summary that opens the area and service guides */
.article-body .wv-tldr{position:relative;padding:26px 30px 26px;border-radius:24px;background:rgba(255,255,255,.9);border:1px solid #fff;box-shadow:var(--sh-md)}
.article-body .wv-tldr::before{content:"";position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,rgba(200,164,85,0),rgba(200,164,85,.85),rgba(200,164,85,0));pointer-events:none}
.article-body .wv-tldr-label{font-size:13.5px;font-weight:600;letter-spacing:-.005em;line-height:1.3;color:var(--gold-ink)}
.article-body .wv-tldr .wv-tldr-label+p{margin-top:10px}
.article-body .wv-tldr p{color:var(--ink);line-height:1.62}
.article-body .wv-tldr ul{padding:14px 0 0;border-top:1px solid var(--line)}
.article-body .wv-tldr ul li{padding-left:32px;font-size:.95em;line-height:1.55;color:var(--ink-2)}
.article-body .wv-tldr ul li+li{margin-top:.6em}
.article-body .wv-tldr ul li::before{left:0;top:.15em;width:20px;height:20px;border-radius:50%;background:var(--gold-wash) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5d22' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center/11px 11px no-repeat;box-shadow:inset 0 0 0 1px rgba(200,164,85,.45)}

/* a sourced fact, set apart from the text with an opening quote mark */
.article-body .wv-stat{position:relative;margin-top:2em;margin-bottom:2em;padding:22px 26px 22px 70px;border-radius:22px;background:linear-gradient(180deg,#fffdf8,#fbf6ea);box-shadow:inset 0 0 0 1px var(--line-gold),0 24px 50px -36px rgba(60,44,12,.45)}
.article-body .wv-stat::before{content:"\201C";position:absolute;left:24px;top:14px;font-size:54px;font-weight:600;line-height:1;letter-spacing:0;color:var(--gold)}
.article-body .wv-stat p{font-size:.95em;line-height:1.62;color:var(--ink)}
.article-body .wv-stat strong{color:var(--gold-ink)}
.article-body .wv-stat+*{margin-top:1.8em}

/* a single line worth stopping on (was a serif pull quote on the old site) */
.article-body .wv-callout{margin-top:2.2em;margin-bottom:2.2em;padding:6px 0 6px 26px;border-left:2px solid var(--gold)}
.article-body .wv-callout p{font-size:clamp(1.2rem,1.02rem + .55vw,1.45rem);line-height:1.42;letter-spacing:-.024em;font-weight:500;color:var(--ink);text-wrap:pretty}
.article-body .wv-callout+*{margin-top:2em}

/* quoted guidance with its source */
.article-body .wv-quote{font-size:inherit;letter-spacing:normal;margin-top:2.2em;margin-bottom:2.2em;padding:26px 0 22px;border-left:0;border-top:1px solid var(--line-2);border-bottom:1px solid var(--line-2)}
.article-body .wv-quote p{font-size:clamp(1.2rem,1.02rem + .55vw,1.45rem);line-height:1.42;letter-spacing:-.024em;font-weight:500;color:var(--ink);text-wrap:pretty}
.article-body .wv-quote cite{display:block;font-size:14px;line-height:1.5;color:var(--ink-3)}
.article-body .wv-quote cite a{color:inherit}

/* sources lists: titles with their link underneath */
.article-body .wv-sources{font-size:.9em;line-height:1.55}
.article-body .wv-sources li+li{margin-top:.75em}
.article-body .wv-sources a{display:inline-block;margin-top:2px;font-size:.92em;color:var(--ink-3);overflow-wrap:anywhere;text-decoration-color:rgba(200,164,85,.5);text-decoration-thickness:1px}
.article-body .wv-sources a:hover{color:var(--ink)}

/* rankings: one card per company, the Workvolve entry with the theme's gold rim */
.article-body .wv-entry{position:relative;max-width:none;margin-top:2em;margin-bottom:2em;padding:clamp(24px,3vw,34px) clamp(22px,3vw,36px);border-radius:28px;background:rgba(255,255,255,.88);border:1px solid #fff;box-shadow:var(--sh-md)}
.article-body .wv-entry.is-us{background:#fff;box-shadow:var(--sh-gold)}
.article-body .wv-entry.is-us::before{content:"";position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,rgba(200,164,85,0),rgba(200,164,85,.9),rgba(200,164,85,0));pointer-events:none}
.article-body .wv-entry>h2{margin-top:0;max-width:none;font-size:clamp(1.375rem,1.12rem + .75vw,1.75rem);line-height:1.2;letter-spacing:-.032em}
.article-body .wv-entry>.wv-bestfor{display:block;margin-top:8px;font-size:14.5px;font-weight:550;letter-spacing:-.01em;line-height:1.45;color:var(--gold-ink)}
.article-body .wv-entry>p{max-width:34em}
.article-body .wv-entry>h3{margin-top:1.5em;font-size:1.0625rem;letter-spacing:-.018em}
.article-body .wv-entry>h3+ul{margin-top:.6em}
.article-body .wv-entry li+li{margin-top:.4em}
.article-body .wv-meta-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 28px;margin-top:1.5em;padding:18px 20px;border-radius:18px;background:#faf6ec;box-shadow:inset 0 0 0 1px var(--line)}
.article-body .wv-meta-row>*+*{margin-top:0}
.article-body .wv-meta-row p{font-size:.9em;line-height:1.58;color:var(--ink-2)}
.article-body .wv-meta-row strong{display:block;margin-bottom:2px;color:var(--ink)}
.article-body .wv-rank{font-weight:600;font-variant-numeric:tabular-nums;color:var(--gold-ink)}
.article-body .wv-table tr.is-us td{background:#fcf8ee}
.article-body .wv-table tr.is-us td:first-child{box-shadow:inset 3px 0 0 var(--gold)}
.article-body .wv-table tr.is-us:has(.wv-rank) td:nth-child(2){font-weight:600;color:var(--ink)}

/* a worked workflow, its steps numbered */
.article-body .workflow-block{margin-top:1.8em;margin-bottom:1.8em;padding:24px 28px 24px;border-radius:24px;background:rgba(255,255,255,.9);border:1px solid #fff;box-shadow:var(--sh-sm)}
.article-body .workflow-block .trigger{font-size:13.5px;font-weight:600;letter-spacing:-.005em;color:var(--gold-ink)}
.article-body .workflow-block h3{margin-top:4px;font-size:1.2rem}
.article-body .workflow-block ol{padding-left:1.3em}
.article-body .workflow-block li{font-size:.95em}
.article-body .workflow-block+.workflow-block{margin-top:1.1em}
.article-body .tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;margin-top:1.4em;margin-bottom:1.8em}
.article-body .tool-pill{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 14px;border-radius:14px;background:#fff;box-shadow:var(--sh-xs),inset 0 0 0 1px var(--line-2);font-size:14.5px;font-weight:500;line-height:1.3;text-align:center;color:var(--ink)}
.article-body .compliance-note{padding:20px 24px;border-radius:18px;background:#f8f5ee;box-shadow:inset 0 0 0 1px var(--line-2);font-size:.95em;line-height:1.62;color:var(--ink)}
.article-body em{font-weight:500;color:var(--ink)}
.article-body h3{text-wrap:pretty}

/* ---------- 5. post cards (blog index and related posts) ---------- */
.pc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}
.pc{position:relative;display:flex;flex-direction:column;border-radius:var(--r-lg);background:rgba(255,255,255,.8);border:1px solid #fff;box-shadow:var(--sh-sm);transition:box-shadow .5s var(--ease),transform .5s var(--ease)}
.pc[hidden]{display:none!important}
.pc:hover{box-shadow:var(--sh-md);transform:translateY(-2px)}
.pc-img{display:block;margin:8px 8px 0;border-radius:17px;overflow:hidden;aspect-ratio:16/9;background:var(--sand)}
.pc-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.pc:hover .pc-img img{transform:scale(1.025)}
.pc-body{display:flex;flex-direction:column;gap:9px;flex:1;padding:18px 20px 20px}
.pc-t{font-size:18px;line-height:1.32;letter-spacing:-.022em;font-weight:550;color:var(--ink);text-wrap:pretty}
.pc-t a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.pc-t a:focus-visible{outline:none}
.pc:has(.pc-t a:focus-visible){outline:2px solid var(--ink);outline-offset:3px}
.pc:hover .pc-t a{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:1.5px;text-underline-offset:3px}
.pc-x{font-size:14.5px;line-height:1.55;color:var(--ink-3);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pc-m{margin-top:auto;padding-top:10px;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:13px;color:var(--ink-3)}
.pc-tag{font-weight:550;color:var(--gold-ink)}
.pc.pc-in{animation:pcIn .4s var(--ease) both}
@keyframes pcIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---------- 6. blog index ---------- */
.bi-top{position:relative;padding-top:clamp(124px,13vw,172px)}
.bi-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px;align-items:end}
.bi-head .h1{font-size:clamp(2.75rem,1.2rem + 4vw,4.75rem)}
.bi-head .lead{max-width:420px;justify-self:end;padding-bottom:10px}
.bi-feature{position:relative;margin-top:clamp(40px,5vw,64px);display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);border-radius:var(--r-xl);background:rgba(255,255,255,.82);border:1px solid #fff;box-shadow:var(--sh-md);transition:box-shadow .5s var(--ease)}
.bi-feature:hover{box-shadow:var(--sh-lg)}
.bi-f-img{display:block;margin:10px;border-radius:24px;overflow:hidden;min-height:360px;background:var(--sand)}
.bi-f-img img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.bi-feature:hover .bi-f-img img{transform:scale(1.02)}
.bi-f-body{display:flex;flex-direction:column;justify-content:center;gap:14px;padding:clamp(24px,3.4vw,48px) clamp(24px,3.4vw,48px) clamp(24px,3.4vw,48px) clamp(14px,2vw,28px)}
.bi-f-label{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:550;color:var(--gold-ink)}
.bi-f-t{font-size:clamp(1.625rem,1.15rem + 1.35vw,2.5rem);line-height:1.08;letter-spacing:-.04em;font-weight:500;color:var(--ink);text-wrap:balance}
.bi-f-t a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.bi-f-t a:focus-visible{outline:none}
.bi-feature:has(.bi-f-t a:focus-visible){outline:2px solid var(--ink);outline-offset:3px}
.bi-f-x{font-size:16px;line-height:1.6;color:var(--ink-2);text-wrap:pretty}
.bi-f-m{font-size:13.5px;color:var(--ink-3)}
.bi-series{position:relative;z-index:2;margin-top:8px;padding-top:16px;border-top:1px solid var(--line)}
.bi-series h3{font-size:13px;font-weight:600;letter-spacing:-.005em;color:var(--ink-3)}
.bi-series-x{margin:2px 0 4px;font-size:13.5px;line-height:1.45;color:var(--ink-3)}
.bi-series a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0;font-size:14.5px;font-weight:500;letter-spacing:-.012em;color:var(--ink);transition:color .25s}
.bi-series li+li a{border-top:1px solid var(--line)}
.bi-series a .i{width:15px;height:15px;color:var(--ink-3);flex:none;transition:transform .4s var(--ease),color .25s}
.bi-series a:hover{color:var(--gold-ink)}
.bi-series a:hover .i{transform:translateX(3px);color:var(--gold-ink)}
.bi-all{padding:clamp(72px,9vw,120px) 0 clamp(16px,2vw,24px)}
.bi-all-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px 32px;margin-bottom:30px}
.bi-all-head h2{font-size:clamp(1.75rem,1.3rem + 1.4vw,2.5rem);line-height:1.1;letter-spacing:-.04em;font-weight:500;color:var(--ink)}
.seg{display:flex;gap:2px;max-width:100%;padding:4px;border-radius:14px;background:rgba(255,255,255,.78);border:1px solid #fff;box-shadow:var(--sh-sm);overflow-x:auto;scrollbar-width:none}
.seg::-webkit-scrollbar{display:none}
.seg button{flex:none;height:36px;padding:0 13px;border-radius:10px;font-size:14px;font-weight:500;letter-spacing:-.01em;color:var(--ink-2);white-space:nowrap;transition:background-color .25s,color .25s,box-shadow .25s}
.seg button:hover{color:var(--ink);background:rgba(29,29,31,.045)}
.seg button[aria-pressed="true"]{background:var(--ink);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 6px 14px -8px rgba(29,29,31,.6)}
.seg button:focus-visible{outline-offset:-2px}
.bi-band{grid-column:1/-1;position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:clamp(24px,4vw,64px);margin:14px 0;padding:clamp(28px,4vw,52px);border-radius:var(--r-2xl);background:#fff;box-shadow:var(--sh-gold)}
.bi-band[hidden]{display:none!important}
.bi-band::before{content:"";position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,rgba(200,164,85,0),rgba(200,164,85,.9),rgba(200,164,85,0));pointer-events:none}
.bi-band-h{font-size:clamp(1.75rem,1.2rem + 1.5vw,2.5rem);line-height:1.08;letter-spacing:-.04em;font-weight:500;color:var(--ink);text-wrap:balance}
.bi-band-p{margin-top:16px;max-width:500px;font-size:var(--fs-lead);line-height:1.58;color:var(--ink-2)}
.bi-band .book{justify-self:end}
.bi-more{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:48px}
.bi-more[hidden]{display:none!important}
.bi-count{font-size:13.5px;color:var(--ink-3)}
.bi-empty{grid-column:1/-1;padding:48px 16px;text-align:center;font-size:16px;color:var(--ink-2)}
.bi-empty[hidden]{display:none!important}
.bi-empty a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}
.bi-end .post-end{padding-top:clamp(56px,6vw,88px);padding-bottom:clamp(72px,9vw,120px)}
.bi-end .post-end .container{max-width:var(--container)}

/* ---------- 7. breakpoints ---------- */
@media (max-width:1180px){
  .post-head{max-width:720px;grid-template-columns:1fr;gap:34px}
  .post-cover{aspect-ratio:2/1}
  .post-grid{grid-template-columns:minmax(0,1fr)}
  .post-grid{max-width:720px}
  .post-main{width:100%}
  .rail{display:none}
  .toc-m{display:block}
  .toc-m[hidden]{display:none!important}
}
@media (max-width:1080px){
  .pc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:940px){
  .bi-head{grid-template-columns:1fr;gap:18px}
  .bi-head .lead{justify-self:start;padding-bottom:0}
  .bi-feature{grid-template-columns:1fr}
  .bi-f-img{min-height:0;aspect-ratio:16/9}
  .bi-f-body{padding:8px clamp(20px,4vw,32px) clamp(24px,4vw,32px)}
  .bi-band{grid-template-columns:1fr}
  .bi-band .book{justify-self:start}
}
@media (max-width:720px){
  .post-top{padding-top:104px}
  .crumbs{margin-bottom:16px}
  .post-title{font-size:clamp(2rem,8.4vw,2.375rem);line-height:1.08}
  .post-title.is-long{font-size:clamp(1.75rem,7.4vw,2.125rem);line-height:1.1}
  .byline{margin-top:22px}
  .post-cover{border-radius:20px}
  .post-wrap{padding-top:40px}
  .article-body.prose{font-size:16.5px;line-height:1.72}
  .article-body ol>li{padding-left:44px}
  .article-body .workflow-block ol>li{padding-left:0}
  .article-body .callout{padding:18px 18px 18px 22px}
  .article-body .wv-tldr{padding:22px 20px 22px;border-radius:22px}
  .article-body .wv-stat{padding:56px 20px 20px;border-radius:20px}
  .article-body .wv-stat::before{left:18px;top:10px;font-size:48px}
  .article-body .wv-callout{padding-left:18px}
  .article-body .wv-entry{border-radius:24px;padding:22px 18px 20px}
  .article-body .wv-meta-row{grid-template-columns:1fr;padding:16px}
  .article-body .workflow-block{padding:20px 18px;border-radius:20px}
  .wv-faq summary{font-size:16.5px;padding:20px 2px}
  .wv-faq details p{padding:0 8px 20px 2px}
  .article-body .wv-table td:first-child,.article-body .wv-table th:first-child{position:sticky;left:0;z-index:1;min-width:112px;background:#fff;box-shadow:1px 0 0 var(--line-2)}
  .article-body .wv-table th:first-child{background:#fbf8f1}
  .article-body .wv-table td:first-child{color:var(--ink)}
  .article-body .wv-table tr.is-us td:first-child{background:#fcf8ee;box-shadow:inset 3px 0 0 var(--gold),1px 0 0 var(--line-2)}
  .related-head{flex-direction:column;align-items:flex-start;gap:10px}
  .pc-grid{grid-template-columns:1fr;gap:18px}
  .pc-t{font-size:17.5px}
  .bi-all .pc-grid{gap:12px}
  .bi-all .pc{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start;column-gap:14px;padding:10px;border-radius:20px}
  .bi-all .pc-img{margin:0;width:96px;aspect-ratio:1;border-radius:14px}
  .bi-all .pc-body{padding:2px 4px 2px 0;gap:6px}
  .bi-all .pc-t{font-size:16px;line-height:1.3}
  .bi-all .pc-x{display:none}
  .bi-all .pc-m{padding-top:2px;font-size:12.5px;gap:2px 10px}
  .bi-all .pc:hover{transform:none}
  .bi-top{padding-top:108px}
  .bi-head .h1{font-size:clamp(2.5rem,11vw,3.25rem)}
  .bi-feature{border-radius:26px}
  .bi-f-img{margin:8px;border-radius:19px}
  .bi-all-head{margin-bottom:22px}
  .seg{width:calc(100% + 2 * var(--gutter));max-width:none;margin:0 calc(-1 * var(--gutter));padding:4px var(--gutter);border-radius:0;background:none;border:0;box-shadow:none}
  .seg button{background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px var(--line-2)}
  .bi-band{border-radius:28px;padding:28px 18px 18px}
  .bi-band .book{width:100%}
}

/* ---------- 8. reduced motion: finished frames, nothing moves ---------- */
@media (prefers-reduced-motion:reduce){
  .pc,.pc-img img,.bi-f-img img{transition:none}
  .pc:hover{transform:none}
}
