*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#111;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{border:0;background:none;color:inherit;cursor:pointer}.site-header{width:min(900px,calc(100% - 40px));margin:0 auto;padding:34px 0 20px;display:flex;align-items:center;justify-content:space-between}.site-name{display:flex;align-items:center;width:190px;height:44px;overflow:visible;font-size:28px;font-weight:600;letter-spacing:-.04em}
.signature-logo{display:block;width:190px;height:44px;overflow:visible}
.signature-text{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Arial,sans-serif;font-size:28px;font-weight:600;letter-spacing:-.04em;fill:#111}
.signature-text.short,.signature-text.full{clip-path:inset(0 100% 0 0);-webkit-clip-path:inset(0 100% 0 0)}
.signature-text.short{animation:signatureWrite 1.15s cubic-bezier(.55,.05,.35,1) .08s forwards}
.signature-text.full{opacity:0}
.site-name:hover,.site-name:focus-visible{width:190px}
.site-name:focus-visible{outline:2px solid #aaa;outline-offset:5px;border-radius:6px}
@keyframes signatureWrite{from{clip-path:inset(0 100% 0 0);-webkit-clip-path:inset(0 100% 0 0);opacity:.35}to{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0);opacity:1}}
.signature-logo.is-full .short{opacity:0;animation:none}
.signature-logo.is-full .full{opacity:1;animation:signatureWriteFull 1.05s cubic-bezier(.55,.05,.35,1) forwards}
.signature-logo.is-short .full{opacity:0;animation:none}
.signature-logo.is-short .short{opacity:1;animation:signatureWrite 1.15s cubic-bezier(.55,.05,.35,1) forwards}
@keyframes signatureWriteFull{from{clip-path:inset(0 100% 0 0);-webkit-clip-path:inset(0 100% 0 0);opacity:.35}to{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0);opacity:1}}
@media(prefers-reduced-motion:reduce){
.signature-text.short,.signature-text.full{animation:none!important;clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0)}
.signature-logo.is-full .short{opacity:0}.signature-logo.is-full .full{opacity:1}
.signature-logo.is-short .short{opacity:1}.signature-logo.is-short .full{opacity:0}
}
.menu-button{width:34px;height:34px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:4px;padding:7px;border-radius:50%;transition:background .2s ease}.menu-button:hover{background:#f2f2f2}.menu-button span{display:block;height:1.5px;background:#111;border-radius:2px}.menu-button span:nth-child(1){width:15px}.menu-button span:nth-child(2){width:11px}.menu-button span:nth-child(3){width:15px}.home{width:min(680px,calc(100% - 40px));margin:0 auto;padding:65px 0 120px}.intro{font-size:18px;line-height:1.65;color:#555;max-width:620px;margin-bottom:72px}.post-list{display:flex;flex-direction:column;gap:65px}.post-item{display:block}.post-item h2{font-size:29px;line-height:1.15;letter-spacing:-.035em;font-weight:600;margin:0 0 10px;position:relative;width:max-content;max-width:100%;transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .28s ease}
.post-item h2::after{content:"";position:absolute;left:0;bottom:-5px;width:100%;height:1.5px;background:#111;transform:scaleX(0);transform-origin:left center;transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.post-item:hover h2,.post-item:focus-visible h2{transform:translateX(5px);opacity:1}
.post-item:hover h2::after,.post-item:focus-visible h2::after{transform:scaleX(1)}
.post-item:active h2{transform:translateX(2px) scale(.99)}
.post-item:focus-visible{outline:none}
.post-item .read-more{transition:transform .28s cubic-bezier(.2,.8,.2,1),color .2s ease}
.post-item:hover .read-more,.post-item:focus-visible .read-more{transform:translateX(5px);color:#111}.date{font-size:14px;color:#888;margin-bottom:18px}.excerpt{font-size:17px;line-height:1.72;color:#333;margin:0}.read-more{display:inline-block;margin-top:15px;font-size:15px;color:#777}.site-footer{width:min(680px,calc(100% - 40px));margin:0 auto;padding:35px 0 55px;border-top:1px solid #eee;color:#777;font-size:14px}.site-footer a{margin-right:18px}.site-footer p{margin-top:25px;color:#aaa}.menu-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.08);opacity:0;pointer-events:none;transition:opacity .28s ease;z-index:20;backdrop-filter:blur(3px)}.menu-panel{position:fixed;z-index:30;right:max(20px,calc((100vw - 900px)/2));top:78px;width:235px;background:rgba(255,255,255,.88);border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:8px;box-shadow:0 18px 55px rgba(0,0,0,.12);backdrop-filter:blur(24px);opacity:0;transform:translateY(-7px) scale(.97);pointer-events:none;transition:opacity .22s ease,transform .3s cubic-bezier(.2,.8,.2,1)}.menu-panel.open{opacity:1;transform:none;pointer-events:auto}.menu-backdrop.open{opacity:1;pointer-events:auto}.menu-panel nav{display:flex;flex-direction:column}.menu-panel nav a,.menu-panel nav button{padding:12px 13px;text-align:left;border-radius:12px;font-size:15px}.menu-panel nav a:hover,.menu-panel nav button:hover{background:#f2f2f2}.article-wrap,.section-page{width:min(680px,calc(100% - 40px));margin:0 auto;padding:50px 0 110px}.back-link{display:inline-block;color:#888;font-size:14px;margin-bottom:55px}.article h1,.section-page h1{font-size:46px;line-height:1.08;letter-spacing:-.045em;margin:0 0 12px}.article .date{margin-bottom:42px}.article p,.article li{font-size:18px;line-height:1.78;color:#222}.article h2{font-size:27px;margin-top:50px}.article blockquote{margin:35px 0;padding-left:20px;border-left:2px solid #ddd;color:#666}.engagement{margin-top:70px;padding-top:30px;border-top:1px solid #eee}.upvote{display:inline-flex;align-items:center;gap:8px;border:1px solid #ddd;border-radius:999px;padding:10px 15px;transition:all .2s ease}.upvote:hover{border-color:#aaa;transform:translateY(-1px)}.upvote.voted{background:#111;color:#fff;border-color:#111}.up-arrow{font-size:20px;line-height:1}.comments{margin-top:65px}.comments h2{font-size:25px}.comments form{display:flex;flex-direction:column;gap:10px}.comments input,.comments textarea{border:1px solid #ddd;border-radius:10px;padding:12px 13px;outline:none;background:#fff}.comments textarea{min-height:110px;resize:vertical}.comments input:focus,.comments textarea:focus{border-color:#888}.comments form button{align-self:flex-start;background:#111;color:#fff;padding:10px 16px;border-radius:999px}.comment{padding:20px 0;border-bottom:1px solid #eee}.comment strong{font-size:14px}.comment time{font-size:12px;color:#999;margin-left:8px}.comment p{margin:9px 0 0;font-size:15px;line-height:1.6;color:#444}.section-page h1{margin-bottom:15px}.lead{font-size:18px;line-height:1.7;color:#666;margin-bottom:55px}.section-card{padding:25px 0;border-top:1px solid #eee}.section-card h2{margin:0 0 7px;font-size:25px;letter-spacing:-.025em}.section-card p{margin:0;color:#555;line-height:1.65}.section-card .meta{font-size:13px;color:#999;margin-bottom:10px}.post-image{display:block;width:auto;height:auto;max-width:100%;max-height:none;object-fit:contain;margin:42px auto 48px;border-radius:0;background:transparent;box-shadow:none;opacity:0;transform:translateY(12px);animation:postImageIn .7s cubic-bezier(.2,.8,.2,1) .08s forwards}
.post-image.portrait,.post-image.landscape,.post-image-square{width:auto;height:auto;max-width:100%;max-height:none;margin-left:auto;margin-right:auto}
.post-figure{margin:42px 0 48px;text-align:center}
.post-figure .post-image{margin:0 auto}
.post-caption{margin-top:11px!important;font-size:13px!important;line-height:1.45!important;color:#999!important;text-align:center}
@keyframes postImageIn{to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.post-item h2{font-size:26px}.post-image{margin:30px auto 38px;border-radius:0;max-height:none}.post-image.portrait{max-height:none}.post-figure{margin:30px 0 38px}}
@media(prefers-reduced-motion:reduce){.post-image{animation:none;opacity:1;transform:none}.post-item h2,.post-item .read-more{transition:none}}
.search-dialog{width:min(650px,calc(100% - 30px));padding:0;border:0;border-radius:20px;box-shadow:0 25px 80px rgba(0,0,0,.18);background:rgba(255,255,255,.96)}.search-dialog::backdrop{background:rgba(0,0,0,.25);backdrop-filter:blur(4px)}.search-box{padding:18px}.search-top{display:flex;gap:10px;align-items:center}.search-top input{flex:1;border:0;outline:0;font-size:22px;padding:8px}.close-search{font-size:12px;color:#888;border:1px solid #ddd;border-radius:8px;padding:5px 8px}.search-results{max-height:55vh;overflow:auto;margin-top:12px}.result{display:block;padding:14px;border-radius:12px}.result:hover{background:#f4f4f4}.result strong{display:block}.result span{font-size:13px;color:#888}.muted{color:#999;font-size:14px;padding:15px}@media(max-width:600px){.site-header{padding-top:24px}.home{padding-top:48px}.post-list{gap:50px}.post-item h2{font-size:26px}.intro{font-size:17px}.article h1,.section-page h1{font-size:37px}.article p,.article li{font-size:17px}.menu-panel{right:15px;top:65px}.site-footer{padding-bottom:35px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
/* v8 additions: social links + production credit only */
.social-links{display:flex;flex-wrap:wrap;gap:18px}
.social-links a{margin-right:0}
.production-mark{margin-top:24px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#aaa}
.production-mark span{color:#777;transition:letter-spacing .3s ease,color .3s ease}
.production-mark:hover span{letter-spacing:.04em;color:#111}

/* Three-dot/menu-button hover animation */
.menu-button{
  position:relative;
  overflow:hidden;
}
.menu-button span{
  transform-origin:right center;
  transition:width .32s cubic-bezier(.2,.8,.2,1),
             transform .32s cubic-bezier(.2,.8,.2,1),
             opacity .22s ease;
}
.menu-button:hover span:nth-child(1),
.menu-button:focus-visible span:nth-child(1){width:21px;transform:translateX(-2px)}
.menu-button:hover span:nth-child(2),
.menu-button:focus-visible span:nth-child(2){width:17px;transform:translateX(-2px)}
.menu-button:hover span:nth-child(3),
.menu-button:focus-visible span:nth-child(3){width:21px;transform:translateX(-2px)}
.menu-button:focus-visible{outline:2px solid #aaa;outline-offset:3px}

/* Pinned post */
.post-heading-row{display:flex;align-items:baseline;gap:12px}
.pinned-label{
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#999;
  white-space:nowrap;
}

/* Footer theme control */
.production-mark{
  display:inline-flex;
  align-items:baseline;
  gap:5px;
  margin-top:24px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#aaa;
}
.production-mark .copyright-symbol{
  font-size:11px;
  letter-spacing:0;
  color:#aaa;
  flex:none;
}
.production-button{
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  color:#777;
  font:inherit;
  letter-spacing:.14em;
  text-transform:uppercase;
  cursor:pointer;
  transition:letter-spacing .38s cubic-bezier(.2,.8,.2,1),
             color .25s ease,
             transform .25s ease;
}
.production-button:hover,
.production-button:focus-visible{
  color:#111;
  letter-spacing:.27em;
  transform:translateX(1px);
}
.production-button:focus-visible{
  outline:2px solid #aaa;
  outline-offset:4px;
  border-radius:3px;
}

/* Dark theme */
html[data-theme="dark"] body{
  background:#0b0b0c;
  color:#f3f3f3;
}
html[data-theme="dark"] .signature-text{fill:#f3f3f3}
html[data-theme="dark"] .intro,
html[data-theme="dark"] .excerpt,
html[data-theme="dark"] .article p,
html[data-theme="dark"] .article li{color:#d2d2d2}
html[data-theme="dark"] .date,
html[data-theme="dark"] .read-more,
html[data-theme="dark"] .back-link,
html[data-theme="dark"] .meta,
html[data-theme="dark"] .muted{color:#999}
html[data-theme="dark"] .post-item h2::after{background:#f3f3f3}
html[data-theme="dark"] .menu-button{color:#f3f3f3}
html[data-theme="dark"] .menu-button span{background:#f3f3f3}
html[data-theme="dark"] .menu-button:hover{background:#1b1b1d}
html[data-theme="dark"] .menu-backdrop{background:rgba(0,0,0,.48)}
html[data-theme="dark"] .menu-panel{
  background:rgba(24,24,26,.9);
  border-color:rgba(255,255,255,.1);
  box-shadow:0 18px 55px rgba(0,0,0,.35);
}
html[data-theme="dark"] .menu-panel nav a:hover,
html[data-theme="dark"] .menu-panel nav button:hover{background:#2a2a2d}
html[data-theme="dark"] .site-footer{border-top-color:#242426}
html[data-theme="dark"] .site-footer a{color:#cfcfcf}
html[data-theme="dark"] .production-mark,
html[data-theme="dark"] .production-mark .copyright-symbol{color:#888}
html[data-theme="dark"] .production-button{color:#bbb}
html[data-theme="dark"] .production-button:hover,
html[data-theme="dark"] .production-button:focus-visible{color:#fff}
html[data-theme="dark"] .search-dialog{background:rgba(22,22,24,.97);color:#f3f3f3}
html[data-theme="dark"] .search-dialog::backdrop{background:rgba(0,0,0,.6)}
html[data-theme="dark"] .search-top input{background:transparent;color:#f3f3f3}
html[data-theme="dark"] .close-search{border-color:#444;color:#aaa}
html[data-theme="dark"] .result:hover{background:#29292c}
html[data-theme="dark"] .result span{color:#999}
html[data-theme="dark"] .article blockquote{border-left-color:#444;color:#aaa}
html[data-theme="dark"] .section-card{border-color:#2a2a2d}
html[data-theme="dark"] input,
html[data-theme="dark"] textarea{
  background:#111113;
  color:#f3f3f3;
  border-color:#333338;
}

html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth{scroll-behavior:auto!important}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:hidden}.lenis.lenis-smooth iframe{pointer-events:none}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .75s cubic-bezier(.2,.8,.2,1),transform .75s cubic-bezier(.2,.8,.2,1)}.reveal.is-visible{opacity:1;transform:none}.article-body>p,.article-body>ul,.article-body>ol{margin:0 0 24px}.article-body img{display:block;max-width:100%;height:auto;margin:42px auto 48px}.article-body a{text-decoration:underline;text-underline-offset:3px}.article-body code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.9em;background:#f4f4f4;padding:.12em .3em;border-radius:5px}.article-body pre{overflow:auto;padding:18px;border-radius:12px;background:#f5f5f5}.article-body pre code{background:none;padding:0}.article-tags,.post-tags{display:flex;flex-wrap:wrap;gap:7px}.article-tags{margin-top:36px}.article-tags span,.post-tags span{font-size:12px;letter-spacing:.02em;border:1px solid #e4e4e4;border-radius:999px;padding:5px 9px;color:#777}.post-tags{margin-top:14px}.post-tags span{padding:4px 8px}.muted{color:#999}.post-heading-row{display:flex;align-items:flex-start;gap:10px}.pinned-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#999;border:1px solid #e4e4e4;border-radius:999px;padding:4px 7px;margin-top:1px;white-space:nowrap}
html[data-theme="dark"] .article-body code,html[data-theme="dark"] .article-body pre{background:#1b1b1e}html[data-theme="dark"] .article-tags span,html[data-theme="dark"] .post-tags span,html[data-theme="dark"] .pinned-label{border-color:#333338;color:#aaa}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}


/* CMS-controlled navigation */
.menu-folder{padding:4px 0}.menu-folder-title{padding:9px 13px 5px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#999}.menu-folder>a{display:block;padding:10px 13px 10px 20px;border-radius:10px}.menu-folder>a:hover{background:#f2f2f2}html[data-theme="dark"] .menu-folder>a:hover{background:#2a2a2d}html[data-theme="dark"] .menu-folder-title{color:#888}
/* Prevent the browser from painting a white page while the theme stylesheet loads. */
html{background:#fff}html[data-theme="dark"]{background:#0b0b0c}html[data-theme="dark"] body{background:#0b0b0c}


/* CMS folders, pagination and newsletter */
.menu-folder-title{display:flex;align-items:center;gap:7px}.menu-folder-title .menu-icon{font-size:14px;letter-spacing:0}.menu-folder-link{display:block;padding:10px 13px 10px 20px;border-radius:10px}.menu-folder-link:hover{background:#f2f2f2}.pagination{display:flex;justify-content:center;gap:8px;margin-top:72px}.pagination button{min-width:36px;height:36px;border:1px solid #ddd;border-radius:999px;color:#666}.pagination button:hover,.pagination button.active{background:#111;color:#fff;border-color:#111}.newsletter{margin-top:42px;padding-top:30px;border-top:1px solid #eee}.newsletter h2{font-size:18px;margin:0 0 8px}.newsletter p{color:#777;line-height:1.55;margin:0 0 14px}.newsletter form{display:flex;gap:8px;max-width:520px}.newsletter input{flex:1;min-width:0;border:1px solid #ddd;border-radius:999px;padding:11px 14px;outline:none}.newsletter button{background:#111;color:#fff;border-radius:999px;padding:11px 16px}.newsletter-message{font-size:13px!important;min-height:18px;margin-top:8px!important}.newsletter-message.error{color:#b33!important}.newsletter-message.success{color:#287a43!important}.folder-link-list{margin:0 0 45px}.folder-link-list .section-card{padding:18px 0}.folder-link-icon{margin-right:6px}.folder-posts{margin-top:35px}.folder-posts .post-item{padding:25px 0;border-top:1px solid #eee}.folder-posts .post-item:first-child{border-top:0}.folder-empty{padding:25px 0;color:#888}.menu-folder-post-count{font-size:11px;color:#aaa;margin-left:auto}
html[data-theme="dark"] .menu-folder-link:hover{background:#2a2a2d}html[data-theme="dark"] .newsletter{border-top-color:#2a2a2d}html[data-theme="dark"] .newsletter input{background:#111113;color:#f3f3f3;border-color:#333338}html[data-theme="dark"] .pagination button{border-color:#333338;color:#aaa}html[data-theme="dark"] .pagination button:hover,html[data-theme="dark"] .pagination button.active{background:#f3f3f3;color:#111;border-color:#f3f3f3}
@media(max-width:600px){.newsletter form{flex-direction:column}.newsletter button{align-self:flex-start}.pagination{margin-top:55px}}


/* Final spacing polish: quieter, more intentional vertical rhythm. */
.home{padding-top:54px;padding-bottom:78px}
.intro{margin-bottom:58px}
.post-list{gap:52px}
.article-wrap,.section-page{padding-top:40px;padding-bottom:72px}
.back-link{margin-bottom:40px}
.article .date{margin-bottom:34px}
.lead{margin-bottom:38px}
.folder-posts{margin-top:26px}
.site-footer{padding-top:30px;padding-bottom:42px}
.production-mark{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:28px;line-height:1.45}
.production-mark .copyright-symbol{display:block}
.production-button{display:block}
@media(max-width:600px){.home{padding-top:42px;padding-bottom:58px}.intro{margin-bottom:46px}.post-list{gap:42px}.article-wrap,.section-page{padding-top:32px;padding-bottom:58px}.back-link{margin-bottom:32px}.site-footer{padding-top:26px;padding-bottom:34px}}
