/*
  PaperMod v8+
  License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE
  Copyright (c) 2020 nanxiaobei and adityatelange
  Copyright (c) 2021-2025 adityatelange
*/
:root{--gap:24px;--content-gap:20px;--nav-width:1024px;--main-width:720px;--header-height:60px;--footer-height:60px;--radius:8px;--theme:rgb(255, 255, 255);--entry:rgb(255, 255, 255);--primary:rgb(30, 30, 30);--secondary:rgb(108, 108, 108);--tertiary:rgb(214, 214, 214);--content:rgb(31, 31, 31);--code-block-bg:rgb(28, 29, 33);--code-bg:rgb(245, 245, 245);--border:rgb(238, 238, 238)}.dark{--theme:rgb(29, 30, 32);--entry:rgb(46, 46, 51);--primary:rgb(218, 218, 219);--secondary:rgb(155, 156, 157);--tertiary:rgb(65, 66, 68);--content:rgb(196, 196, 197);--code-block-bg:rgb(46, 46, 51);--code-bg:rgb(55, 56, 62);--border:rgb(51, 51, 51)}.list{background:var(--code-bg)}.dark.list{background:var(--theme)}*,::after,::before{box-sizing:border-box}html{-webkit-tap-highlight-color:transparent;overflow-y:scroll;-webkit-text-size-adjust:100%;text-size-adjust:100%}a,button,body,h1,h2,h3,h4,h5,h6{color:var(--primary)}body{font-family:-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Oxygen,Ubuntu,Cantarell,open sans,helvetica neue,sans-serif;font-size:18px;line-height:1.6;word-break:break-word;background:var(--theme)}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section,table{display:block}h1,h2,h3,h4,h5,h6{line-height:1.2}h1,h2,h3,h4,h5,h6,p{margin-top:0;margin-bottom:0}ul{padding:0}a{text-decoration:none}body,figure,ul{margin:0}table{width:100%;border-collapse:collapse;border-spacing:0;overflow-x:auto;word-break:keep-all}button,input,textarea{padding:0;font:inherit;background:0 0;border:0}input,textarea{outline:0}button,input[type=button],input[type=submit]{cursor:pointer}input:-webkit-autofill,textarea:-webkit-autofill{box-shadow:0 0 0 50px var(--theme)inset}img{display:block;max-width:100%}.not-found{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:center;height:80%;font-size:160px;font-weight:700}.archive-posts{width:100%;font-size:16px}.archive-year{margin-top:40px}.archive-year:not(:last-of-type){border-bottom:2px solid var(--border)}.archive-month{display:flex;align-items:flex-start;padding:10px 0}.archive-month-header{margin:25px 0;width:200px}.archive-month:not(:last-of-type){border-bottom:1px solid var(--border)}.archive-entry{position:relative;padding:5px;margin:10px 0}.archive-entry-title{margin:5px 0;font-weight:400}.archive-count,.archive-meta{color:var(--secondary);font-size:14px}.footer,.top-link{font-size:12px;color:var(--secondary)}.footer{max-width:calc(var(--main-width) + var(--gap) * 2);margin:auto;padding:calc((var(--footer-height) - var(--gap))/2)var(--gap);text-align:center;line-height:24px}.footer span{margin-inline-start:1px;margin-inline-end:1px}.footer span:last-child{white-space:nowrap}.footer a{color:inherit;border-bottom:1px solid var(--secondary)}.footer a:hover{border-bottom:1px solid var(--primary)}.top-link{visibility:hidden;position:fixed;bottom:60px;right:30px;z-index:99;background:var(--tertiary);width:42px;height:42px;padding:12px;border-radius:64px;transition:visibility .5s,opacity .8s linear}.top-link,.top-link svg{filter:drop-shadow(0 0 0 var(--theme))}.footer a:hover,.top-link:hover{color:var(--primary)}.top-link:focus,#theme-toggle:focus{outline:0}.nav{display:flex;flex-wrap:wrap;justify-content:space-between;max-width:calc(var(--nav-width) + var(--gap) * 2);margin-inline-start:auto;margin-inline-end:auto;line-height:var(--header-height)}.nav a{display:block}.logo,#menu{display:flex;margin:auto var(--gap)}.logo{flex-wrap:inherit}.logo a{font-size:24px;font-weight:700}.logo a img,.logo a svg{display:inline;vertical-align:middle;pointer-events:none;transform:translate(0,-10%);border-radius:6px;margin-inline-end:8px}button#theme-toggle{font-size:26px;margin:auto 4px}body.dark #moon{vertical-align:middle;display:none}body:not(.dark) #sun{display:none}#menu{list-style:none;word-break:keep-all;overflow-x:auto;white-space:nowrap}#menu li+li{margin-inline-start:var(--gap)}#menu a{font-size:16px}#menu .active{font-weight:500;border-bottom:2px solid}.lang-switch li,.lang-switch ul,.logo-switches{display:inline-flex;margin:auto 4px}.lang-switch{display:flex;flex-wrap:inherit}.lang-switch a{margin:auto 3px;font-size:16px;font-weight:500}.logo-switches{flex-wrap:inherit}.main{position:relative;min-height:calc(100vh - var(--header-height) - var(--footer-height));max-width:calc(var(--main-width) + var(--gap) * 2);margin:auto;padding:var(--gap)}.page-header h1{font-size:40px}.pagination{display:flex}.pagination a{color:var(--theme);font-size:13px;line-height:36px;background:var(--primary);border-radius:calc(36px/2);padding:0 16px}.pagination .next{margin-inline-start:auto}.social-icons a{display:inline-flex;padding:10px}.social-icons a svg{height:26px;width:26px}code{direction:ltr}div.highlight,pre{position:relative}.copy-code{display:none;position:absolute;top:4px;right:4px;color:rgba(255,255,255,.8);background:rgba(78,78,78,.8);border-radius:var(--radius);padding:0 5px;font-size:14px;user-select:none}div.highlight:hover .copy-code,pre:hover .copy-code{display:block}.first-entry{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:320px;margin:var(--gap)0 calc(var(--gap) * 2)}.first-entry .entry-header{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.first-entry .entry-header h1{font-size:34px;line-height:1.3}.first-entry .entry-content{margin:14px 0;font-size:16px;-webkit-line-clamp:3}.first-entry .entry-footer{font-size:14px}.home-info .entry-content{-webkit-line-clamp:unset}.post-entry{position:relative;margin-bottom:var(--gap);padding:var(--gap);background:var(--entry);border-radius:var(--radius);transition:transform .1s;border:1px solid var(--border)}.post-entry:active{transform:scale(.96)}.tag-entry .entry-cover{display:none}.entry-header h2{font-size:24px;line-height:1.3}.entry-content{margin:8px 0;color:var(--secondary);font-size:14px;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.entry-footer{color:var(--secondary);font-size:13px}.entry-link{position:absolute;left:0;right:0;top:0;bottom:0}.entry-hint{color:var(--secondary)}.entry-hint-parent{display:flex;justify-content:space-between}.entry-cover{font-size:14px;margin-bottom:var(--gap);text-align:center}.entry-cover img{border-radius:var(--radius);width:100%;height:auto}.entry-cover a{color:var(--secondary);box-shadow:0 1px 0 var(--primary)}.page-header,.post-header{margin:24px auto var(--content-gap)}.post-title{margin-bottom:2px;font-size:40px}.post-description{margin-top:10px;margin-bottom:5px}.post-meta,.breadcrumbs{color:var(--secondary);font-size:14px;display:flex;flex-wrap:wrap}.post-meta .i18n_list li{display:inline-flex;list-style:none;margin:auto 3px;box-shadow:0 1px 0 var(--secondary)}.breadcrumbs a{font-size:16px}.post-content{color:var(--content)}.post-content h3,.post-content h4,.post-content h5,.post-content h6{margin:24px 0 16px}.post-content h1{margin:40px auto 32px;font-size:40px}.post-content h2{margin:32px auto 24px;font-size:32px}.post-content h3{font-size:24px}.post-content h4{font-size:16px}.post-content h5{font-size:14px}.post-content h6{font-size:12px}.post-content a,.toc a:hover{box-shadow:0 1px;box-decoration-break:clone;-webkit-box-decoration-break:clone}.post-content a code{margin:auto 0;border-radius:0;box-shadow:0 -1px 0 var(--primary)inset}.post-content del{text-decoration:line-through}.post-content dl,.post-content ol,.post-content p,.post-content figure,.post-content ul{margin-bottom:var(--content-gap)}.post-content ol,.post-content ul{padding-inline-start:20px}.post-content li{margin-top:5px}.post-content li p{margin-bottom:0}.post-content dl{display:flex;flex-wrap:wrap;margin:0}.post-content dt{width:25%;font-weight:700}.post-content dd{width:75%;margin-inline-start:0;padding-inline-start:10px}.post-content dd~dd,.post-content dt~dt{margin-top:10px}.post-content table{margin-bottom:var(--content-gap)}.post-content table th,.post-content table:not(.highlighttable,.highlight table,.gist .highlight) td{min-width:80px;padding:8px 5px;line-height:1.5;border-bottom:1px solid var(--border)}.post-content table th{text-align:start}.post-content table:not(.highlighttable) td code:only-child{margin:auto 0}.post-content .highlight table{border-radius:var(--radius)}.post-content .highlight:not(table){margin:10px auto;background:var(--code-block-bg)!important;border-radius:var(--radius);direction:ltr}.post-content li>.highlight{margin-inline-end:0}.post-content ul pre{margin-inline-start:calc(var(--gap) * -2)}.post-content .highlight pre{margin:0}.post-content .highlighttable{table-layout:fixed}.post-content .highlighttable td:first-child{width:40px}.post-content .highlighttable td .linenodiv{padding-inline-end:0!important}.post-content .highlighttable td .highlight,.post-content .highlighttable td .linenodiv pre{margin-bottom:0}.post-content code{margin:auto 4px;padding:4px 6px;font-size:.78em;line-height:1.5;background:var(--code-bg);border-radius:2px}.post-content pre code{display:grid;margin:auto 0;padding:10px;color:#d5d5d6;background:var(--code-block-bg)!important;border-radius:var(--radius);overflow-x:auto;word-break:break-all}.post-content blockquote{margin:20px 0;padding:0 14px;border-inline-start:3px solid var(--primary)}.post-content hr{margin:30px 0;height:2px;background:var(--tertiary);border:0}.post-content iframe{max-width:100%}.post-content img{border-radius:4px;margin:1rem 0}.post-content img[src*="#center"]{margin:1rem auto}.post-content figure.align-center{text-align:center}.post-content figure>figcaption{color:var(--primary);font-size:16px;font-weight:700;margin:8px 0 16px}.post-content figure>figcaption>p{color:var(--secondary);font-size:14px;font-weight:400}.toc{margin:0 2px 40px;border:1px solid var(--border);background:var(--code-bg);border-radius:var(--radius);padding:.4em}.dark .toc{background:var(--entry)}.toc details summary{cursor:zoom-in;margin-inline-start:10px;user-select:none}.toc details[open] summary{cursor:zoom-out}.toc .details{display:inline;font-weight:500}.toc .inner{margin:5px 20px 0;padding:0 10px;opacity:.9}.toc li ul{margin-inline-start:var(--gap)}.toc summary:focus{outline:0}.post-footer{margin-top:56px}.post-footer>*{margin-bottom:10px}.post-tags{display:flex;flex-wrap:wrap;gap:10px}.post-tags li{display:inline-block}.post-tags a,.share-buttons,.paginav{border-radius:var(--radius);background:var(--code-bg);border:1px solid var(--border)}.post-tags a{display:block;padding:0 14px;color:var(--secondary);font-size:14px;line-height:34px;background:var(--code-bg)}.post-tags a:hover,.paginav a:hover{background:var(--border)}.share-buttons{padding:10px;display:flex;justify-content:center;overflow-x:auto;gap:10px}.share-buttons li,.share-buttons a{display:inline-flex}.share-buttons a:not(:last-of-type){margin-inline-end:12px}h1:hover .anchor,h2:hover .anchor,h3:hover .anchor,h4:hover .anchor,h5:hover .anchor,h6:hover .anchor{display:inline-flex;color:var(--secondary);margin-inline-start:8px;font-weight:500;user-select:none}.paginav{display:flex;line-height:30px}.paginav a{padding-inline-start:14px;padding-inline-end:14px;border-radius:var(--radius)}.paginav .title{letter-spacing:1px;text-transform:uppercase;font-size:small;color:var(--secondary)}.paginav .prev,.paginav .next{width:50%}.paginav span:hover:not(.title){box-shadow:0 1px}.paginav .next{margin-inline-start:auto;text-align:right}[dir=rtl] .paginav .next{text-align:left}h1>a>svg{display:inline}img.in-text{display:inline;margin:auto}.buttons,.main .profile{display:flex;justify-content:center}.main .profile{align-items:center;min-height:calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));text-align:center}.profile .profile_inner{display:flex;flex-direction:column;align-items:center;gap:10px}.profile img{border-radius:50%}.buttons{flex-wrap:wrap;max-width:400px}.button{background:var(--tertiary);border-radius:var(--radius);margin:8px;padding:6px;transition:transform .1s}.button-inner{padding:0 8px}.button:active{transform:scale(.96)}#searchbox input{padding:4px 10px;width:100%;color:var(--primary);font-weight:700;border:2px solid var(--tertiary);border-radius:var(--radius)}#searchbox input:focus{border-color:var(--secondary)}#searchResults li{list-style:none;border-radius:var(--radius);padding:10px;margin:10px 0;position:relative;font-weight:500}#searchResults{margin:10px 0;width:100%}#searchResults li:active{transition:transform .1s;transform:scale(.98)}#searchResults a{position:absolute;width:100%;height:100%;top:0;left:0;outline:none}#searchResults .focus{transform:scale(.98);border:2px solid var(--tertiary)}.terms-tags li{display:inline-block;margin:10px;font-weight:500}.terms-tags a{display:block;padding:3px 10px;background:var(--tertiary);border-radius:6px;transition:transform .1s}.terms-tags a:active{background:var(--tertiary);transform:scale(.96)}.bg{color:#cad3f5;background-color:#24273a}.chroma{color:#cad3f5;background-color:#24273a}.chroma .err{color:#ed8796}.chroma .lnlinks{outline:none;text-decoration:none;color:inherit}.chroma .lntd{vertical-align:top;padding:0;margin:0;border:0}.chroma .lntable{border-spacing:0;padding:0;margin:0;border:0}.chroma .hl{background-color:#474733}.chroma .lnt{white-space:pre;-webkit-user-select:none;user-select:none;margin-right:.4em;padding:0 .4em;color:#8087a2}.chroma .ln{white-space:pre;-webkit-user-select:none;user-select:none;margin-right:.4em;padding:0 .4em;color:#8087a2}.chroma .line{display:flex}.chroma .k{color:#c6a0f6}.chroma .kc{color:#f5a97f}.chroma .kd{color:#ed8796}.chroma .kn{color:#8bd5ca}.chroma .kp{color:#c6a0f6}.chroma .kr{color:#c6a0f6}.chroma .kt{color:#ed8796}.chroma .na{color:#8aadf4}.chroma .nb{color:#91d7e3}.chroma .bp{color:#91d7e3}.chroma .nc{color:#eed49f}.chroma .no{color:#eed49f}.chroma .nd{color:#8aadf4;font-weight:700}.chroma .ni{color:#8bd5ca}.chroma .ne{color:#f5a97f}.chroma .nf{color:#8aadf4}.chroma .fm{color:#8aadf4}.chroma .nl{color:#91d7e3}.chroma .nn{color:#f5a97f}.chroma .py{color:#f5a97f}.chroma .nt{color:#c6a0f6}.chroma .nv{color:#f4dbd6}.chroma .vc{color:#f4dbd6}.chroma .vg{color:#f4dbd6}.chroma .vi{color:#f4dbd6}.chroma .vm{color:#f4dbd6}.chroma .s{color:#a6da95}.chroma .sa{color:#ed8796}.chroma .sb{color:#a6da95}.chroma .sc{color:#a6da95}.chroma .dl{color:#8aadf4}.chroma .sd{color:#6e738d}.chroma .s2{color:#a6da95}.chroma .se{color:#8aadf4}.chroma .sh{color:#6e738d}.chroma .si{color:#a6da95}.chroma .sx{color:#a6da95}.chroma .sr{color:#8bd5ca}.chroma .s1{color:#a6da95}.chroma .ss{color:#a6da95}.chroma .m{color:#f5a97f}.chroma .mb{color:#f5a97f}.chroma .mf{color:#f5a97f}.chroma .mh{color:#f5a97f}.chroma .mi{color:#f5a97f}.chroma .il{color:#f5a97f}.chroma .mo{color:#f5a97f}.chroma .o{color:#91d7e3;font-weight:700}.chroma .ow{color:#91d7e3;font-weight:700}.chroma .c{color:#6e738d;font-style:italic}.chroma .ch{color:#6e738d;font-style:italic}.chroma .cm{color:#6e738d;font-style:italic}.chroma .c1{color:#6e738d;font-style:italic}.chroma .cs{color:#6e738d;font-style:italic}.chroma .cp{color:#6e738d;font-style:italic}.chroma .cpf{color:#6e738d;font-weight:700;font-style:italic}.chroma .gd{color:#ed8796;background-color:#363a4f}.chroma .ge{font-style:italic}.chroma .gr{color:#ed8796}.chroma .gh{color:#f5a97f;font-weight:700}.chroma .gi{color:#a6da95;background-color:#363a4f}.chroma .gs{font-weight:700}.chroma .gu{color:#f5a97f;font-weight:700}.chroma .gt{color:#ed8796}.chroma .gl{text-decoration:underline}.chroma{background-color:unset!important}.chroma .hl{display:flex}.chroma .lnt{padding:0 0 0 12px}.highlight pre.chroma code{padding:8px 0}.highlight pre.chroma .line .cl,.chroma .ln{padding:0 10px}.chroma .lntd:last-of-type{width:100%}::-webkit-scrollbar-track{background:0 0}.list:not(.dark)::-webkit-scrollbar-track{background:var(--code-bg)}::-webkit-scrollbar-thumb{background:var(--tertiary);border:5px solid var(--theme);border-radius:var(--radius)}.list:not(.dark)::-webkit-scrollbar-thumb{border:5px solid var(--code-bg)}::-webkit-scrollbar-thumb:hover{background:var(--secondary)}::-webkit-scrollbar:not(.highlighttable,.highlight table,.gist .highlight){background:var(--theme)}.post-content .highlighttable td .highlight pre code::-webkit-scrollbar{display:none}.post-content :not(table) ::-webkit-scrollbar-thumb{border:2px solid var(--code-block-bg);background:#717175}.post-content :not(table) ::-webkit-scrollbar-thumb:hover{background:#a3a3a5}.gist table::-webkit-scrollbar-thumb{border:2px solid #fff;background:#adadad}.gist table::-webkit-scrollbar-thumb:hover{background:#707070}.post-content table::-webkit-scrollbar-thumb{border-width:2px}@media screen and (min-width:768px){::-webkit-scrollbar{width:19px;height:11px}}@media screen and (max-width:768px){:root{--gap:14px}.profile img{transform:scale(.85)}.first-entry{min-height:260px}.archive-month{flex-direction:column}.archive-year{margin-top:20px}.footer{padding:calc((var(--footer-height) - var(--gap) - 10px)/2)var(--gap)}}@media screen and (max-width:900px){.list .top-link{transform:translateY(-5rem)}}@media screen and (max-width:340px){.share-buttons{justify-content:unset}}@media(prefers-reduced-motion){.terms-tags a:active,.button:active,.post-entry:active,.top-link,#searchResults .focus,#searchResults li:active{transform:none}}@import 'https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap';.post-title,.post-description,.post-meta,.breadcrumbs,.post-content{font-family:playfair display,serif!important;font-weight:100;letter-spacing:.001rem}.post-content table,.post-content th,.post-content td,.post-content figcaption,.post-content li,.post-content dt,.post-content dd,.post-content blockquote{font-family:inherit!important}.MathJax_Display{display:block!important;margin:1em auto!important;text-align:center!important}.math{display:block;overflow-x:auto;max-width:75%;text-align:center;margin:0 auto}.math-inline{max-width:100%;overflow-x:auto;display:inline-block;vertical-align:middle}.cases{display:inline-block;max-width:100%;overflow-x:auto}/* Noir dot-display mode for the site */
body.noir-list,
body.noir-single,
body.dark.noir-list,
body.dark.noir-single{
  --theme:#050505;
  --entry:rgba(10,10,10,.96);
  --primary:#f2eee8;
  --secondary:#b5ada4;
  --tertiary:#1c1a18;
  --content:#e7e1d8;
  --code-block-bg:#11100f;
  --code-bg:#0d0c0b;
  --border:rgba(255,255,255,.08);
  --dot:rgba(255,255,255,.16);
  --dot-soft:rgba(255,255,255,.07);
  font-family:"Source Serif 4",serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.06), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.04), transparent 24%),
    #050505;
}

.noir-list .header,
.noir-single .header{
  position:sticky;
  top:0;
  z-index:8;
  background:rgba(5,5,5,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
}

.noir-list .main,
.noir-single .main{
  position:relative;
  max-width:min(1160px,calc(100% - 40px));
  padding-top:34px;
  padding-bottom:54px;
}

.noir-list .main::before,
.noir-single .main::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle, var(--dot) 0 1px, transparent 1.7px) 0 0 / 18px 18px;
  mask-image:
    radial-gradient(circle at 82% 12%, rgba(0,0,0,.95), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,.3), transparent 72%);
  opacity:.5;
}

.noir-list .nav,
.noir-single .nav,
.noir-list .logo a,
.noir-single .logo a,
.noir-list #menu a,
.noir-single #menu a,
.noir-list .journal-kicker,
.noir-single .journal-kicker,
.noir-single .journal-pill,
.noir-single .journal-overline-meta,
.noir-list .journal-entry-index,
.noir-list .journal-entry-meta,
.noir-list .journal-feature-meta,
.noir-list .journal-feature-link,
.noir-single .toc summary,
.noir-single .post-content figure>figcaption,
.noir-single .breadcrumbs,
.noir-list .footer,
.noir-single .footer{
  font-family:"Source Serif 4",serif;
}

.noir-list .logo a,
.noir-single .logo a{
  font-size:22px;
  font-weight:600;
  letter-spacing:-.03em;
}

.noir-list #menu a,
.noir-single #menu a{
  font-size:15px;
  letter-spacing:.01em;
}

.noir-list #menu .active,
.noir-single #menu .active{
  border-bottom:1px dotted rgba(255,255,255,.72);
}

.noir-list .footer,
.noir-single .footer{
  max-width:min(1160px,calc(100% - 40px));
  color:var(--secondary);
}

.noir-list .journal-kicker,
.noir-single .journal-kicker{
  margin:0;
  font-size:12px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--secondary);
}

.noir-list .journal-dek,
.noir-list .journal-feature-meta,
.noir-list .journal-entry-meta,
.noir-single .journal-overline-meta,
.noir-single .post-description{
  color:var(--secondary);
}

.noir-list .journal-hero{
  position:relative;
  display:grid;
  gap:16px;
  padding:54px 0 22px;
  border-top:1px solid var(--border);
  animation:noir-rise .72s cubic-bezier(.22,1,.36,1) both;
}

.noir-list .journal-hero,
.noir-list .journal-feature,
.noir-list .journal-archive,
.noir-list .pagination,
.noir-single .journal-header,
.noir-single .journal-body-grid{
  max-width:1020px;
  margin-inline:auto;
}

.noir-list .journal-hero::after{
  content:"";
  position:absolute;
  right:0;
  top:24px;
  width:min(42vw,420px);
  aspect-ratio:1/1;
  background:
    radial-gradient(circle, rgba(255,255,255,.3) 0 1px, transparent 1.8px) 0 0 / 15px 15px;
  mask-image:radial-gradient(circle at center, rgba(0,0,0,.95), transparent 72%);
  opacity:.42;
  pointer-events:none;
}

.noir-list .journal-hero h1{
  margin:0;
  max-width:10ch;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(2.8rem,6vw,4.6rem);
  font-weight:600;
  line-height:1.05;
  letter-spacing:-.04em;
  text-wrap:balance;
}

.noir-list .journal-hero .journal-dek{
  max-width:34rem;
  font-family:"Source Serif 4",serif;
  font-size:1.3rem;
  line-height:1.7;
}

.noir-list .journal-hero-home h1{
  max-width:22ch;
  font-size:clamp(2.52rem,5.4vw,4.14rem);
}

.noir-home .journal-hero{
  gap:20px;
  padding-top:44px;
  padding-bottom:14px;
}

.noir-home .journal-dek{
  max-width:30rem;
}

.noir-home .journal-socials{
  margin-top:4px;
}

.noir-list .journal-richtext,
.noir-single .journal-richtext{
  display:grid;
  gap:12px;
}

.noir-list .journal-richtext p,
.noir-single .journal-richtext p{
  margin:0;
}

.noir-list .journal-richtext a{
  color:inherit;
  box-shadow:inset 0 -.12em 0 rgba(255,255,255,.16);
}

.noir-list .journal-socials{
  margin-top:10px;
}

.noir-list .journal-socials .social-icons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.noir-list .journal-socials .social-icons a{
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  padding:0;
  border:1px dotted rgba(255,255,255,.24);
  border-radius:999px;
  color:var(--primary);
  transition:transform .2s ease,border-color .2s ease,background-color .2s ease;
}

.noir-list .journal-socials .social-icons a:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.48);
  background:rgba(255,255,255,.04);
}

.noir-list .journal-feature{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr);
  gap:clamp(26px,4vw,62px);
  align-items:end;
  padding:28px 0 52px;
  border-bottom:1px solid var(--border);
  animation:noir-rise .82s cubic-bezier(.22,1,.36,1) both;
}

.noir-list .journal-feature-copy{
  display:grid;
  gap:18px;
  align-content:end;
}

.noir-list .journal-feature h2{
  margin:0;
  max-width:20ch;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(2rem,3.5vw,3.2rem);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.04em;
  text-wrap:balance;
}

.noir-home .journal-feature,
.section-projects.noir-list .journal-feature{
  gap:clamp(24px,3.5vw,52px);
}

.noir-home .journal-feature{
  align-items:start;
  padding-top:10px;
}

.noir-home .journal-feature-copy{
  align-content:start;
  padding-top:4px;
}

.noir-home .journal-feature h2,
.section-projects.noir-list .journal-feature h2{
  max-width:24ch;
  font-size:clamp(1.8rem,3vw,2.8rem);
  line-height:1.1;
}

.noir-home .journal-entry-main h2,
.section-projects.noir-list .journal-entry-main h2{
  max-width:20ch;
}

.noir-list .journal-feature .journal-dek{
  margin:0;
  max-width:31rem;
  font-family:"Source Serif 4",serif;
  font-size:1.24rem;
  line-height:1.72;
  color:var(--content);
}

.noir-list .journal-feature-meta{
  font-size:1rem;
}

.noir-list .journal-feature-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:max-content;
  padding:12px 18px;
  border:1px dotted rgba(255,255,255,.28);
  border-radius:999px;
  font-size:14px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--primary);
  transition:transform .2s ease,border-color .2s ease,background-color .2s ease;
}

.noir-list .journal-feature-link::after{
  content:"→";
  font-size:15px;
  line-height:1;
}

.noir-list .journal-feature-link:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.52);
  background:rgba(255,255,255,.04);
}

.noir-list .journal-feature-media{
  position:relative;
  aspect-ratio:4/5;
  margin:0;
  overflow:hidden;
  border-radius:30px;
  border:1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.01)),
    #0b0b0b;
  box-shadow:0 30px 90px rgba(0,0,0,.35);
}

.noir-list .journal-feature-media::before{
  content:"";
  position:absolute;
  inset:16px;
  border-radius:22px;
  background:
    radial-gradient(circle, rgba(255,255,255,.22) 0 1px, transparent 1.75px) 0 0 / 15px 15px;
  opacity:.36;
  mix-blend-mode:screen;
  pointer-events:none;
}

.noir-list .journal-feature-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.04) contrast(1.08) brightness(.94);
  transition:transform .6s cubic-bezier(.22,1,.36,1),filter .3s ease;
}

.noir-list .journal-feature:hover .journal-feature-media img{
  transform:scale(1.035);
  filter:saturate(1.08) contrast(1.12) brightness(.98);
}

.noir-list .journal-feature-fallback{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.08)),
    radial-gradient(circle, rgba(255,255,255,.2) 0 1px, transparent 1.75px) 0 0 / 15px 15px,
    #090909;
}

.noir-list .journal-feature-fallback strong{
  max-width:9ch;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(2.8rem,5vw,4rem);
  line-height:.88;
  letter-spacing:-.06em;
}

.noir-list .journal-feature-label,
.noir-list .journal-feature-year{
  font-family:"Source Serif 4",serif;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--secondary);
}

.noir-list .journal-feature-year{
  margin-top:16px;
}

.noir-list .journal-archive{
  padding-top:28px;
}

.noir-list .journal-archive-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}

.noir-list .journal-rows{
  display:grid;
}

.noir-list .journal-entry{
  position:relative;
  display:grid;
  grid-template-columns:70px minmax(0,1fr);
  gap:18px;
  align-items:start;
  padding:24px 0;
  border-top:1px solid var(--border);
  transition:transform .24s ease,border-color .24s ease,background-color .24s ease;
  animation:noir-rise .66s cubic-bezier(.22,1,.36,1) both;
}

.noir-list .journal-entry:nth-child(2){animation-delay:.04s}
.noir-list .journal-entry:nth-child(3){animation-delay:.08s}
.noir-list .journal-entry:nth-child(4){animation-delay:.12s}
.noir-list .journal-entry:nth-child(5){animation-delay:.16s}
.noir-list .journal-entry:nth-child(6){animation-delay:.2s}

.noir-list .journal-entry:hover{
  transform:translateX(8px);
  border-color:rgba(255,255,255,.2);
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), transparent 44%);
}

.noir-list .journal-entry-index{
  padding-top:8px;
  font-size:12px;
  letter-spacing:.24em;
  color:var(--secondary);
}

.noir-list .journal-entry-main{
  display:grid;
  gap:10px;
}

.noir-list .journal-entry-main h2{
  margin:0;
  max-width:18ch;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(2.4rem,4vw,3.8rem);
  font-weight:600;
  line-height:.9;
  letter-spacing:-.06em;
  text-wrap:balance;
}

.noir-list .journal-entry-main p:last-child{
  margin:0;
  max-width:44rem;
  font-family:"Source Serif 4",serif;
  font-size:1.08rem;
  line-height:1.72;
  color:var(--secondary);
}

.noir-list .pagination,
.noir-single .pagination{
  margin-top:22px;
}

.noir-list .pagination a,
.noir-single .pagination a{
  background:#f2eee8;
  color:#070707;
  border-radius:999px;
  padding:0 18px;
}

.noir-single .journal-article{
  position:relative;
}

.noir-single .journal-header{
  position:relative;
  max-width:920px;
  margin:30px auto 34px;
  padding-top:34px;
  display:grid;
  gap:16px;
  border-top:1px solid var(--border);
  animation:noir-rise .72s cubic-bezier(.22,1,.36,1) both;
}

.noir-single .journal-header::before{
  content:"";
  position:absolute;
  inset:-12px -32px auto auto;
  width:min(44vw,460px);
  aspect-ratio:1/1;
  background:
    radial-gradient(circle, rgba(255,255,255,.26) 0 1px, transparent 1.75px) 0 0 / 16px 16px;
  mask-image:radial-gradient(circle at center, rgba(0,0,0,.95), transparent 70%);
  opacity:.4;
  pointer-events:none;
}

.noir-single .journal-overline{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
}

.noir-single .journal-pill{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  border:1px dotted rgba(255,255,255,.24);
  background:rgba(255,255,255,.03);
  color:var(--primary);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.noir-single .journal-overline-meta{
  font-size:1rem;
}

.noir-single .post-title,
.noir-single .post-description,
.noir-single .post-meta,
.noir-single .breadcrumbs,
.noir-single .post-content{
  font-family:"Source Serif 4",serif!important;
  font-weight:400;
}

.noir-single .post-title{
  margin:0;
  max-width:18ch;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(2.4rem,5vw,4rem);
  font-weight:600;
  line-height:1.05;
  letter-spacing:-.04em;
  text-wrap:balance;
}

.section-projects.noir-single .journal-header,
.section-notes.noir-single .journal-header,
.section-wip.noir-single .journal-header,
.section-about.noir-single .journal-header{
  max-width:1040px;
  gap:12px;
}

.section-notes.noir-single .post-title,
.section-wip.noir-single .post-title{
  max-width:none;
  font-size:clamp(2.6rem,4vw,4.4rem);
  line-height:.96;
  letter-spacing:-.04em;
  text-wrap:pretty;
}

.section-projects.noir-single .post-title{
  max-width:none;
  font-size:clamp(2.35rem,3.4vw,3.9rem);
  line-height:.99;
  letter-spacing:-.035em;
  text-wrap:pretty;
}

.section-projects.noir-single .journal-standfirst,
.section-notes.noir-single .journal-standfirst,
.section-wip.noir-single .journal-standfirst{
  max-width:40rem;
  font-size:1.12rem;
}

.section-about.noir-single .post-title{
  max-width:none;
  font-size:clamp(2.86rem,5.5vw,4.4rem);
  line-height:1.02;
}

.noir-single .journal-standfirst{
  max-width:34rem;
  font-size:1.22rem;
  line-height:1.72;
}

.noir-single .breadcrumbs{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--secondary);
}

.noir-single .breadcrumbs a{
  font-size:inherit;
}

.noir-single .entry-cover{
  position:relative;
  max-width:1080px;
  margin:10px auto 38px;
}

.noir-single .entry-cover a{
  display:flex;
  justify-content:center;
  box-shadow:none;
}

.noir-single .entry-cover a:hover{
  box-shadow:none;
}

.section-projects.noir-single .entry-cover,
.section-notes.noir-single .entry-cover,
.section-wip.noir-single .entry-cover{
  width:min(88vw,900px);
  max-width:100%;
  margin:12px auto 34px;
}

.noir-single .entry-cover::before{
  content:"";
  position:absolute;
  inset:-18px;
  border-radius:36px;
  background:
    radial-gradient(circle, var(--dot-soft) 0 1px, transparent 1.75px) 0 0 / 16px 16px;
  opacity:.42;
  pointer-events:none;
}

.section-projects.noir-single .entry-cover::before,
.section-notes.noir-single .entry-cover::before,
.section-wip.noir-single .entry-cover::before{
  inset:-14px;
}

.noir-single .entry-cover img{
  position:relative;
  width:auto;
  max-width:100%;
  max-height:min(72svh,720px);
  border-radius:32px;
  border:1px solid var(--border);
  box-shadow:0 34px 100px rgba(0,0,0,.38);
  filter:saturate(1.04) contrast(1.08) brightness(.96);
}

.noir-single .entry-cover figcaption{
  margin-top:12px;
  color:var(--secondary);
}

.noir-single .entry-cover-bottom{
  margin-top:46px;
  margin-bottom:12px;
}

.noir-single .journal-body-grid{
  display:grid;
  grid-template-columns:minmax(220px,250px) minmax(0,1fr);
  gap:clamp(28px,5vw,76px);
  align-items:start;
  animation:noir-rise .82s cubic-bezier(.22,1,.36,1) both;
}

.noir-single .journal-body-grid-single{
  grid-template-columns:minmax(0,1fr);
}

.noir-single .journal-side{
  position:sticky;
  top:96px;
}

.noir-single .journal-body{
  max-width:780px;
  width:100%;
  margin-inline:auto;
}

.noir-single .journal-page .journal-body{
  max-width:860px;
}

.section-about.noir-single .journal-page .journal-body{
  max-width:1040px;
}

.section-about.noir-single .journal-about-lead{
  display:grid;
  grid-template-columns:minmax(240px,275px) minmax(0,1fr);
  gap:clamp(24px,4vw,48px);
  align-items:start;
  margin-bottom:36px;
}

.section-about.noir-single .journal-about-portrait{
  width:100%;
  max-width:min(100%,320px);
}

.section-about.noir-single .journal-about-portrait figure{
  margin:0;
}

.section-about.noir-single .journal-about-portrait img{
  width:100%;
  margin:0;
  border-radius:28px;
}

.section-about.noir-single .journal-about-copy{
  padding-top:4px;
  max-width:none;
}

.section-about.noir-single .post-content{
  font-size:.915rem;
  line-height:1.78;
}

.section-projects.noir-single .journal-body-grid,
.section-notes.noir-single .journal-body-grid,
.section-wip.noir-single .journal-body-grid{
  display:block;
  gap:0;
}

.section-projects.noir-single .journal-article,
.section-notes.noir-single .journal-article,
.section-wip.noir-single .journal-article{
  max-width:min(880px,100%);
  margin-inline:auto;
}

.section-projects.noir-single .post-content,
.section-notes.noir-single .post-content{
  font-size:1.08rem;
  line-height:1.74;
}

.section-projects.noir-single .post-content h2,
.section-notes.noir-single .post-content h2{
  margin-top:2.35rem;
  font-size:2.45rem;
  line-height:1;
}

.section-projects.noir-single .post-content h3,
.section-notes.noir-single .post-content h3{
  margin-top:1.95rem;
  font-size:1.78rem;
  line-height:1.04;
}

.section-projects.noir-single .post-content blockquote,
.section-notes.noir-single .post-content blockquote{
  margin:.8rem 0 .95rem;
  padding:12px 16px 12px 18px;
  font-size:.92em;
  line-height:1.55;
  border-radius:0 18px 18px 0;
}

.section-projects.noir-single .post-content blockquote p,
.section-notes.noir-single .post-content blockquote p{
  margin-bottom:0;
}

.section-projects.noir-single .post-content p,
.section-projects.noir-single .post-content figure,
.section-projects.noir-single .post-content ul,
.section-projects.noir-single .post-content ol,
.section-projects.noir-single .post-content dl,
.section-notes.noir-single .post-content p,
.section-notes.noir-single .post-content figure,
.section-notes.noir-single .post-content ul,
.section-notes.noir-single .post-content ol,
.section-notes.noir-single .post-content dl{
  margin-bottom:1rem;
}

.section-projects.noir-single .toc,
.section-notes.noir-single .toc{
  border-radius:22px;
  padding:.65rem .75rem .9rem;
}

.section-projects.noir-single .toc ul,
.section-notes.noir-single .toc ul{
  gap:8px;
}

.noir-single .toc{
  position:relative;
  margin:0;
  border:1px solid var(--border);
  border-radius:26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    #090909;
  padding:.7rem .8rem 1rem;
  overflow:hidden;
}

.noir-single .toc::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle, rgba(255,255,255,.14) 0 1px, transparent 1.75px) 0 0 / 15px 15px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.62), transparent 88%);
  opacity:.36;
  pointer-events:none;
}

.noir-single .toc summary{
  position:relative;
  z-index:1;
  letter-spacing:.01em;
}

.noir-single .toc .details{
  font-weight:600;
}

.noir-single .toc .inner{
  position:relative;
  z-index:1;
}

.noir-single .toc ul{
  display:grid;
  gap:10px;
}

.noir-single .post-content{
  font-size:1.22rem;
  line-height:1.92;
  color:var(--content);
}

.noir-single .post-content h1,
.noir-single .post-content h2,
.noir-single .post-content h3,
.noir-single .post-content h4,
.noir-single .post-content h5,
.noir-single .post-content h6{
  font-family:"Cormorant Garamond",serif;
  font-weight:600;
  letter-spacing:-.045em;
  color:var(--primary);
}

.noir-single .post-content h2{
  margin-top:2.9rem;
  font-size:2.9rem;
  line-height:.96;
}

.noir-single .post-content h3{
  margin-top:2.3rem;
  font-size:2.1rem;
  line-height:.98;
}

.noir-single .post-content a{
  color:inherit;
  box-shadow:inset 0 -.12em 0 rgba(255,255,255,.16);
  transition:box-shadow .2s ease;
}

.noir-single .post-content a:hover{
  box-shadow:inset 0 -.9em 0 rgba(255,255,255,.08);
}

.noir-single .post-content blockquote{
  padding:18px 20px 18px 22px;
  border-inline-start:1px dotted rgba(255,255,255,.42);
  border-radius:0 22px 22px 0;
  background:rgba(255,255,255,.03);
}

.noir-single .post-content hr{
  background:
    radial-gradient(circle, rgba(255,255,255,.3) 0 1px, transparent 1.8px) 0 0 / 15px 15px;
  height:10px;
}

.noir-single .post-content img,
.noir-single .post-content figure img{
  border-radius:26px;
  border:1px solid var(--border);
}

.noir-single .post-content figure>figcaption{
  font-size:13px;
  letter-spacing:.02em;
  color:var(--secondary);
}

.noir-single .post-content figure.align-left{
  float:left;
  width:min(34%,280px);
  margin:.35rem 1.8rem 1.2rem 0;
}

.noir-single .post-content figure.align-left img{
  margin:0;
}

.noir-error .journal-error{
  min-height:calc(100vh - 220px);
  align-content:center;
}

@keyframes noir-rise{
  from{opacity:0;transform:translateY(18px)}
  to{opacity:1;transform:none}
}

@media screen and (max-width:980px){
  .noir-list .main,
  .noir-single .main{
    max-width:calc(100% - 28px);
  }

  .noir-list .journal-feature{
    grid-template-columns:1fr;
  }

  .noir-list .journal-feature h2,
  .noir-list .journal-hero h1,
  .noir-single .post-title{
    max-width:none;
  }

  .noir-single .journal-body-grid{
    grid-template-columns:1fr;
  }

  .noir-single .journal-side{
    position:static;
  }

  .noir-single .toc{
    margin-bottom:20px;
  }

  .section-about.noir-single .journal-about-lead{
    grid-template-columns:1fr;
    gap:22px;
  }

  .section-about.noir-single .journal-about-portrait{
    max-width:min(100%,300px);
  }
}

@media screen and (max-width:720px){
  .noir-list .journal-entry{
    grid-template-columns:1fr;
  }

  .noir-list .journal-entry-index{
    padding-top:0;
  }

  .noir-list .journal-feature{
    padding-bottom:34px;
  }

  .noir-list .journal-hero{
    padding-top:36px;
  }

  .noir-home .journal-feature h2,
  .section-projects.noir-list .journal-feature h2,
  .section-projects.noir-single .post-title,
  .section-notes.noir-single .post-title,
  .section-wip.noir-single .post-title{
    max-width:none;
  }

  .noir-single .journal-header{
    gap:14px;
    overflow:hidden;
  }

  .noir-single .journal-header::before{
    inset:-12px -10px auto auto;
    width:min(52vw,200px);
  }

  .noir-single .post-content{
    font-size:1.1rem;
    line-height:1.82;
  }

  .section-projects.noir-single .post-content,
  .section-notes.noir-single .post-content{
    font-size:1rem;
    line-height:1.66;
  }

  .section-projects.noir-single .post-content h2,
  .section-notes.noir-single .post-content h2{
    margin-top:2rem;
    font-size:2.05rem;
  }

  .section-projects.noir-single .post-content h3,
  .section-notes.noir-single .post-content h3{
    margin-top:1.7rem;
    font-size:1.56rem;
  }

  .section-projects.noir-single .post-content blockquote,
  .section-notes.noir-single .post-content blockquote{
    padding:10px 12px 10px 14px;
    font-size:.89em;
    line-height:1.5;
    border-radius:0 16px 16px 0;
  }

  .section-about.noir-single .post-content{
    font-size:.825rem;
    line-height:1.72;
  }

  .section-projects.noir-single .entry-cover,
  .section-notes.noir-single .entry-cover,
  .section-wip.noir-single .entry-cover{
    width:100%;
    margin:12px auto 30px;
  }

  .noir-single .entry-cover img{
    max-height:min(62svh,560px);
  }

  .noir-single .post-content figure.align-left{
    float:none;
    width:100%;
    margin:0 0 1.3rem;
  }

  .section-about.noir-single .journal-about-portrait{
    max-width:min(100%,275px);
  }
}

@media(prefers-reduced-motion){
  .noir-list .journal-hero,
  .noir-list .journal-feature,
  .noir-list .journal-entry,
  .noir-single .journal-header,
  .noir-single .journal-body-grid{
    animation:none;
  }

  .noir-list .journal-entry:hover,
  .noir-list .journal-feature-link:hover,
  .noir-list .journal-feature:hover .journal-feature-media img{
    transform:none;
  }
}
