/* Blog detail: the site's shared type and featured art, with a calmer reading canvas. */
.blog-single{padding:clamp(118px,11vw,158px) 0 80px;--ps-sticky-offset:110px}
.blog-single .publication-wrap{width:min(1280px,calc(100% - 64px))}
.blog-single :is(header,section,aside,figure,div){min-width:0}
.blog-single .publication-breadcrumb{margin-bottom:38px;gap:12px;font-size:calc(12px * var(--pw-type-scale,1))}
.blog-single .ps-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:clamp(35px,5vw,72px);align-items:center;max-width:none;margin-bottom:clamp(65px,8vw,110px)}
.blog-single .publication-header h1{font-size:calc(clamp(35px,4.1vw,58px) * var(--pw-type-scale,1));font-weight:600;line-height:1.1;letter-spacing:-.045em;margin:0 0 29px;text-wrap:balance;overflow-wrap:anywhere}
.blog-single .publication-kicker{font-size:calc(10px * var(--pw-type-scale,1));font-weight:650;line-height:1.8;letter-spacing:.12em;margin-bottom:22px}
.blog-single .publication-intro{font-size:calc(17px * var(--pw-type-scale,1));line-height:1.85;max-width:700px}
.blog-single .publication-meta{gap:10px 23px;margin-top:29px;font-size:calc(11px * var(--pw-type-scale,1));line-height:1.85}


.ps-featured{border-radius:26px;overflow:hidden;box-shadow:0 26px 65px -42px color-mix(in srgb,var(--pw-shadow) 35%,transparent);background:var(--pw-section);isolation:isolate}
.blog-single .ps-featured .post-art{height:340px;padding:23px 24px}
.blog-single .ps-featured .post-art>i{top:calc(50% - 58px)}.blog-single .ps-featured .post-art>b{top:calc(50% - 22px)}
.blog-single .ps-featured .post-art>small{right:24px;bottom:23px}.blog-single .ps-featured .post-art>span{max-width:100%;white-space:normal;line-height:1.7}
.blog-single .publication-layout{grid-template-columns:220px minmax(0,1fr);gap:clamp(45px,6vw,90px);scroll-margin-top:var(--ps-sticky-offset)}
.blog-single .publication-index{top:var(--ps-sticky-offset);font-size:calc(12px * var(--pw-type-scale,1))}
.ps-toc{border:0;background:none;padding:0}
.ps-toc summary{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:44px;padding:0 0 10px;font-size:calc(11px * var(--pw-type-scale,1));font-weight:650;letter-spacing:.035em;color:var(--pw-heading);cursor:pointer;list-style:none}
.ps-toc summary::-webkit-details-marker{display:none}.ps-toc summary>span{font-size:20px;font-weight:400;transition:transform .2s}.ps-toc[open] summary>span{transform:rotate(45deg)}
.blog-single .publication-index ol{border:0;padding:0}.blog-single .publication-index li{border:0;padding:0;margin-top:5px}
.blog-single .publication-index a{padding:11px 13px;margin-left:-13px;border-radius:10px;line-height:1.75;color:var(--pw-muted);text-decoration:none;transition:background .2s,color .2s}
.blog-single .publication-index a:hover,.blog-single .publication-index a[aria-current=location]{background:var(--pw-section);color:var(--pw-heading)}
.blog-single .publication-outcome{border:0;border-radius:15px;background:var(--pw-section);padding:23px;margin-top:30px}
.blog-single .publication-outcome span{font-size:calc(9px * var(--pw-type-scale,1));line-height:1.8;font-weight:650}
.blog-single .publication-outcome p{font-size:calc(12px * var(--pw-type-scale,1));line-height:1.85;margin:12px 0 0;color:var(--pw-muted)}
.blog-single .publication-body{max-width:900px;font-size:calc(17px * var(--pw-type-scale,1));line-height:1.95}
.blog-single .publication-body p{margin:0 0 29px;max-width:78ch}
.blog-single .publication-body h2{font-size:calc(clamp(27px,2.65vw,36px) * var(--pw-type-scale,1));line-height:1.2;font-weight:550;letter-spacing:-.035em;margin:0 0 28px}
.blog-single .publication-section{margin-top:70px;scroll-margin-top:calc(var(--ps-sticky-offset) + 15px)}.blog-single .publication-section:first-child{margin-top:0}
.blog-single .publication-body h3{font-size:calc(22px * var(--pw-type-scale,1));font-weight:550;line-height:1.35;letter-spacing:-.025em;margin:43px 0 21px}
.blog-single .ps-diagram{margin:48px 0 65px}.blog-single .ps-diagram img{border-radius:20px}.blog-single .ps-diagram figcaption{margin-top:19px;font-size:calc(12px * var(--pw-type-scale,1));line-height:1.8;max-width:75ch}
.blog-single .ps-table{margin:38px 0 44px;border:0;border-radius:18px;overflow:hidden;background:var(--pw-surface);box-shadow:0 8px 35px -26px color-mix(in srgb,var(--pw-shadow) 30%,transparent)}
.blog-single .ps-table table{min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;font-size:calc(14px * var(--pw-type-scale,1));line-height:1.8}
.blog-single .ps-table caption{caption-side:top;text-align:left;padding:23px 25px;font-size:calc(12px * var(--pw-type-scale,1));font-weight:550;line-height:1.75;color:var(--pw-muted);background:var(--pw-section)}
.blog-single .ps-table :is(th,td){padding:22px 23px;text-align:left;vertical-align:top;overflow-wrap:anywhere;hyphens:auto;background:none;color:var(--pw-muted);border:0}
.blog-single .ps-table thead th{font-size:calc(12px * var(--pw-type-scale,1));line-height:1.8;font-weight:650;background:var(--pw-section);color:var(--pw-heading);padding-top:6px;padding-bottom:23px}
.blog-single .ps-table tbody th{font-size:calc(13px * var(--pw-type-scale,1));font-weight:550;color:var(--pw-ink);width:25%}
.blog-single .ps-table tbody :is(th,td){border-top:1px solid var(--pw-border)}
.blog-single .ps-table tbody tr:nth-child(even) :is(th,td){background:color-mix(in srgb,var(--pw-section) 45%,var(--pw-surface))}
.ps-cell-label{display:none}
.blog-single .publication-next{margin-top:78px;padding:37px;border:0;border-radius:22px;background:var(--pw-section);display:block}
.blog-single .publication-next .publication-kicker{margin-bottom:18px}.blog-single .publication-next h2{font-size:calc(clamp(27px,3vw,36px) * var(--pw-type-scale,1));margin-bottom:20px}
.blog-single .publication-next p:not(.publication-kicker){font-size:calc(15px * var(--pw-type-scale,1));line-height:1.85;margin:0 0 26px}
.blog-single .publication-next .button{white-space:normal;max-width:100%;gap:18px}
.blog-single .publication-back{margin-top:70px;padding-top:30px;font-size:calc(12px * var(--pw-type-scale,1))}
.ps-progress{position:fixed;inset:0 0 auto;height:3px;z-index:1100;background:color-mix(in srgb,var(--pw-heading) 9%,transparent);pointer-events:none;contain:layout paint}
.ps-progress[hidden]{display:none!important}.ps-progress>span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left center;background:linear-gradient(90deg,var(--pw-secondary),var(--pw-accent),var(--pw-heading));box-shadow:0 0 12px color-mix(in srgb,var(--pw-secondary) 40%,transparent)}
.blog-single :focus-visible{outline:2px solid var(--pw-heading);outline-offset:5px}
@media(max-width:1050px){.blog-single .ps-hero{gap:35px;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}.blog-single .publication-header h1{font-size:calc(43px * var(--pw-type-scale,1))}.blog-single .ps-featured .post-art{height:310px}.blog-single .publication-layout{grid-template-columns:190px minmax(0,1fr);gap:40px}.blog-single .ps-table :is(th,td){padding-inline:18px}}
@media(max-width:950px){.blog-single .publication-wrap{width:calc(100% - 48px)}.blog-single .publication-layout{grid-template-columns:1fr;gap:40px}.blog-single .publication-index{position:static;display:block}.blog-single .publication-outcome{display:none}.ps-toc{padding:17px 23px;border-radius:15px;background:var(--pw-section)}.ps-toc summary{padding:0}.blog-single .publication-index ol{padding-top:12px}.blog-single .publication-index a:hover,.blog-single .publication-index a[aria-current=location]{background:var(--pw-surface)}.blog-single .publication-body{max-width:none}}
@media(max-width:760px){.blog-single .ps-hero{grid-template-columns:1fr;gap:33px;margin-bottom:48px}.blog-single .publication-header h1{font-size:calc(clamp(34px,6vw,46px) * var(--pw-type-scale,1));max-width:700px}.blog-single .publication-intro{font-size:calc(17px * var(--pw-type-scale,1))}.blog-single .ps-featured .post-art{height:230px}.blog-single .ps-featured{border-radius:21px}.blog-single .publication-breadcrumb{margin-bottom:28px}.blog-single .publication-section{margin-top:53px}}
/* Each table row becomes a labelled comparison card, retaining native table semantics. */
@media(max-width:700px){.blog-single .ps-table{overflow:visible;background:none;box-shadow:none;border-radius:0}.blog-single .ps-table table{display:block;border:0;min-width:0;table-layout:auto}.blog-single .ps-table caption{display:block;background:none;padding:0 0 18px;font-size:calc(12px * var(--pw-type-scale,1))}.blog-single .ps-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}.blog-single .ps-table tbody{display:grid;gap:16px}.blog-single .ps-table tbody tr{display:block;border-radius:16px;overflow:hidden;background:var(--pw-surface)}.blog-single .ps-table tbody :is(th,td){display:block;width:auto;padding:18px 21px;border:0;background:none!important}.blog-single .ps-table tbody th{font-size:calc(15px * var(--pw-type-scale,1));line-height:1.65;font-weight:600;background:var(--pw-section)!important;color:var(--pw-heading)}.blog-single .ps-table tbody td{font-size:calc(14px * var(--pw-type-scale,1));line-height:1.85;padding-top:20px;padding-bottom:0}.blog-single .ps-table tbody td:last-child{padding-bottom:23px}.blog-single .ps-cell-label{display:block;font-size:calc(11px * var(--pw-type-scale,1));font-weight:650;line-height:1.7;color:var(--pw-heading);margin-bottom:7px}}
@media(max-width:600px){.blog-single{padding:112px 0 50px}.blog-single .publication-wrap{width:calc(100% - 36px)}.blog-single .publication-breadcrumb{font-size:calc(11px * var(--pw-type-scale,1));line-height:1.8;gap:8px 10px}.blog-single .publication-header h1{font-size:calc(clamp(32px,8.4vw,42px) * var(--pw-type-scale,1));line-height:1.13;margin-bottom:23px;letter-spacing:-.04em}.blog-single .publication-intro{font-size:calc(16px * var(--pw-type-scale,1));line-height:1.9}.blog-single .publication-kicker{font-size:calc(9px * var(--pw-type-scale,1));margin-bottom:18px}.blog-single .publication-meta{display:grid;gap:7px;margin-top:24px;font-size:calc(11px * var(--pw-type-scale,1))}.blog-single .ps-featured .post-art{height:220px;padding:20px}.blog-single .ps-featured .post-art>small{right:20px;bottom:19px}.blog-single .publication-layout{gap:35px}.ps-toc{padding:15px 20px}.blog-single .publication-body{font-size:calc(16px * var(--pw-type-scale,1));line-height:1.95}.blog-single .publication-body p{margin-bottom:27px}.blog-single .publication-body h2{font-size:calc(28px * var(--pw-type-scale,1));line-height:1.25;margin-bottom:24px}.blog-single .publication-body h3{font-size:calc(21px * var(--pw-type-scale,1));margin-top:35px}.blog-single .ps-diagram{margin:34px 0 48px}.blog-single .ps-diagram img{border-radius:15px}.blog-single .ps-diagram figcaption{font-size:calc(11px * var(--pw-type-scale,1));line-height:1.85}.blog-single .ps-table{margin:30px 0 35px}.blog-single .publication-next{padding:28px 23px;margin-top:55px}.blog-single .publication-next p:not(.publication-kicker){font-size:calc(14px * var(--pw-type-scale,1))}.blog-single .publication-back{margin-top:45px;padding-top:25px;align-items:start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.blog-single *{scroll-behavior:auto!important}.blog-single .publication-index a,.ps-toc summary>span{transition:none}}
@media(forced-colors:active){.ps-progress{background:Canvas}.ps-progress>span{background:Highlight}.blog-single .ps-featured,.blog-single .ps-table tbody tr,.ps-toc,.blog-single .publication-next{outline:1px solid CanvasText}.blog-single .publication-index a[aria-current=location]{outline:2px solid Highlight}}
@media print{.ps-progress,.blog-single .publication-index,.blog-single .publication-next{display:none!important}.blog-single{padding:10px 0}.blog-single .publication-wrap{width:100%}.blog-single .ps-hero,.blog-single .publication-layout{display:block}.blog-single .ps-featured{display:none}.blog-single .ps-hero{margin-bottom:35px}.blog-single .publication-body{max-width:none;font-size:12px;line-height:1.7}.blog-single .publication-header h1{font-size:30px}.blog-single .publication-section{margin-top:30px}.blog-single .ps-table table{display:table}.blog-single .ps-table thead{position:static;display:table-header-group;width:auto;height:auto;clip:auto;clip-path:none;white-space:normal}.blog-single .ps-table tbody{display:table-row-group}.blog-single .ps-table tbody tr{display:table-row;break-inside:avoid}.blog-single .ps-table :is(th,td){display:table-cell!important;width:auto;padding:10px!important}.blog-single .ps-cell-label{display:none}.blog-single .ps-table caption{display:table-caption}.blog-single .ps-diagram img{max-height:500px;object-fit:contain}}
/* Long contents lists remain reachable on shorter displays and enlarged text. */
@media(min-width:951px){.blog-single .publication-index{max-height:calc(100vh - var(--ps-sticky-offset) - 24px);max-height:calc(100dvh - var(--ps-sticky-offset) - 24px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:7px}}
@media print{.blog-single .publication-index{max-height:none;overflow:visible}}

/* An explicit dark material and paired text roles protect the closing card from footer inheritance. */
.blog-single .publication-next.ps-project-card{position:relative;isolation:isolate;display:block;margin-top:78px;padding:38px 40px 40px;border:1px solid var(--pw-border-dark);border-radius:24px;background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--pw-secondary) 14%,transparent),transparent 63%),var(--pw-deep);color:var(--pw-on-dark);box-shadow:0 24px 65px -45px color-mix(in srgb,var(--pw-shadow) 50%,transparent)}
.ps-project-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}
.blog-single .ps-project-card .publication-kicker{color:var(--pw-accent);margin:0;font-size:calc(9px * var(--pw-type-scale,1));font-weight:650;letter-spacing:.12em;line-height:1.85;max-width:calc(100% - 65px)}
.ps-project-mark{display:grid;place-items:center;width:43px;height:43px;flex:none;border-radius:50%;background:color-mix(in srgb,var(--pw-accent) 8%,transparent);color:var(--pw-accent);font-size:23px;line-height:1}
.blog-single .ps-project-card h2{margin:0 0 23px;color:var(--pw-on-dark);font-size:calc(clamp(30px,3.4vw,42px) * var(--pw-type-scale,1));font-weight:550;line-height:1.15;letter-spacing:-.04em}
.blog-single .ps-project-card h2>span{color:var(--pw-accent)}
.blog-single .ps-project-card p.ps-project-description{color:var(--pw-on-dark-muted);font-size:calc(14px * var(--pw-type-scale,1));line-height:1.9;margin:0 0 29px;max-width:58ch}
.ps-project-actions{display:flex;align-items:center;flex-wrap:wrap;gap:19px 25px}
.blog-single .ps-project-card .button{--aw-fg:var(--pw-on-accent);--aw-slide:var(--pw-accent-top);--aw-hover-fg:var(--pw-on-accent);display:inline-flex;width:fit-content;min-width:0;max-width:100%;white-space:normal;justify-content:space-between}
.blog-single .ps-project-card .ps-project-note{display:block;max-width:220px;color:var(--pw-on-dark-muted);font-size:calc(11px * var(--pw-type-scale,1));line-height:1.8;letter-spacing:0}
@media(max-width:600px){.blog-single .publication-next.ps-project-card{margin-top:55px;padding:27px 24px 30px;border-radius:20px}.ps-project-top{margin-bottom:25px;gap:15px}.ps-project-mark{width:36px;height:36px;font-size:21px}.blog-single .ps-project-card .publication-kicker{font-size:calc(8px * var(--pw-type-scale,1));max-width:calc(100% - 51px)}.blog-single .ps-project-card h2{font-size:calc(clamp(28px,6.8vw,35px) * var(--pw-type-scale,1));line-height:1.2;margin-bottom:21px}.blog-single .ps-project-card p.ps-project-description{font-size:calc(13px * var(--pw-type-scale,1));margin-bottom:25px}.ps-project-actions{display:grid;gap:17px}.blog-single .ps-project-card .ps-project-note{max-width:none}.blog-single .ps-project-card .button{width:100%}}
@media(forced-colors:active){.blog-single .publication-next.ps-project-card{background:Canvas;color:CanvasText;border-color:CanvasText}.blog-single .ps-project-card :is(h2,h2>span,.publication-kicker,.ps-project-description,.ps-project-note,.ps-project-mark){color:CanvasText}.blog-single .ps-project-card .button{--aw-base:ButtonFace;--aw-fg:ButtonText;--aw-slide:Highlight;--aw-hover-fg:HighlightText}}
