/* HN Journal, post detail and public dialogs (ported from hanungnugroho.com editorial.css), scoped to .hn-scope
   and recoloured to the PEF palette. Loaded on public pages after PEF's stylesheets. */
.hn-scope{--paper:#f7f7f8;--surface:#fff;--card:#fff;--ink:#17191e;--muted:#5f6570;--line:#e1e2e5;--red:#A20404;--soft:#f6e6e6;--radius-sm:10px;--radius-md:18px;--radius-lg:26px;--radius-xl:30px;--radius-pill:999px;--font-label:11px;--font-meta:12px;--font-nav:14px;--font-card-title:clamp(20px,calc(1.6vw / var(--lc-zoom, 1)),24px);--font-section-title:clamp(30px,calc(2.5vw / var(--lc-zoom, 1)),40px);--font-page-title:clamp(42px,calc(4vw / var(--lc-zoom, 1)),58px);--font-display:clamp(48px,calc(5vw / var(--lc-zoom, 1)),72px);--radius:var(--radius-lg);color:var(--ink);font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif}
[data-site-theme=dark] .hn-scope{--paper:#15181d;--surface:#1b1f25;--card:#20252c;--ink:#f1f3f5;--muted:#c2c7ce;--line:#363c45;--red:#ff7378;--soft:#3a2428}
[data-site-theme=dark] .hn-scope .technology-popular a small,[data-site-theme=dark] .hn-scope .post-related-rail>a>small{color:#5f6570}[data-site-theme=dark] .hn-scope .technology-popular li,[data-site-theme=dark] .hn-scope .post-related-rail>a{border-color:rgba(23,25,30,.14)}
.hn-scope.lc-journal{padding:clamp(40px,calc(5vw / var(--lc-zoom, 1)),72px) 0 clamp(24px,calc(3vw / var(--lc-zoom, 1)),40px);background:var(--paper);overflow-wrap:anywhere}
.hn-scope h1,.hn-scope h2,.hn-scope h3{margin-top:0;color:var(--ink);font-family:inherit;letter-spacing:-.045em;line-height:1.12}
.hn-scope h1{font-size:var(--font-page-title);font-weight:700;margin-bottom:22px}
.hn-scope h2{font-size:var(--font-section-title);font-weight:650;margin-bottom:18px}
.hn-scope h3{font-size:var(--font-card-title);line-height:1.22;font-weight:650}
.hn-scope p{color:var(--muted)}
.hn-scope a{text-decoration:none}
.hn-scope a:hover{color:var(--red)}
.hn-scope :focus-visible{outline:3px solid var(--red);outline-offset:5px}
.hn-scope img{max-width:100%;height:auto;display:block}
.hn-scope button{font:inherit;cursor:pointer;color:inherit}
.hn-scope pre{white-space:pre-wrap}
/* Lifecinema additions */
.hn-scope .lc-audience{font-weight:700;color:var(--red)}
.hn-scope .lc-author-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--red);color:#fff;font-weight:800}
.hn-scope .lc-preview-notice{border-left:4px solid var(--red)}
.hn-scope .lc-ack form{margin:0}
.hn-scope .lc-feed-tags{margin-top:clamp(32px,calc(4vw / var(--lc-zoom, 1)),56px)}
.hn-scope .post-tag-cloud :is(a,button)[aria-current=true]{border-color:var(--red);color:var(--red)}
.hn-scope .technology-popular h2,.hn-scope .post-related-rail h2{color:var(--paper)}
.hn-scope .technology-popular p,.hn-scope .post-related-rail p{color:inherit}
.public-alert-enhanced .public-flash{display:none}
.hn-scope .button-dark,.hn-scope .button-red{background:#A20404;color:#fff}
.hn-scope .sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hn-scope .icon-button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:50%;width:38px;height:38px;display:inline-grid;place-items:center;flex-shrink:0;line-height:1}
.hn-scope .icon-button:hover{border-color:var(--red);color:var(--red)}
.hn-scope .eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:var(--font-label);font-weight:750;display:flex;align-items:center;gap:10px;margin:0 0 20px;color:var(--red)}
.hn-scope .intro-note .text-link{font-size:13px;margin-left:61px}
.hn-scope .text-link{display:inline-flex;align-items:center;gap:12px;font-weight:650;font-size:14px;color:var(--red);border:0;background:none;padding:0;line-height:1.5}
.hn-scope .button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:48px;padding:12px 23px;border-radius:50px;font-size:13px;font-weight:650;border:1px solid transparent;line-height:1.35}
.hn-scope .button-dark,.hn-scope .button-red{background:#A20404;color:#fff}
.hn-scope .button-dark:hover,.hn-scope .button-red:hover{background:#800303;color:#fff;transform:translateY(-1px)}
.hn-scope .button-light{border-color:var(--line);background:var(--surface);color:var(--ink)}
.hn-scope .post-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:10px;font-weight:600;color:var(--muted);letter-spacing:.04em}
.hn-scope .post-meta>span:first-child{color:var(--red);text-transform:uppercase;letter-spacing:.11em;font-weight:750}
.hn-scope .demo-pill{font-size:9px!important;font-weight:600;padding:3px 8px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted)!important;letter-spacing:0!important;line-height:1.4}
.hn-scope .slider-controls .icon-button{width:30px;height:30px}
.hn-scope .section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:27px}
.hn-scope .section-heading h2{margin-bottom:0}
.hn-scope .section-heading .eyebrow{margin-bottom:12px}
.hn-scope .section-heading p:not(.eyebrow){font-size:14px;max-width:510px;margin:14px 0 0}
.hn-scope .section-heading>.text-link{white-space:nowrap;margin-bottom:6px}
.hn-scope .story-image>.demo-pill{position:absolute;left:13px;top:13px}
.hn-scope .story-card>.post-meta{margin:20px 0 11px}
.hn-scope .story-card .text-link{font-size:12px}
.hn-scope .project-card .post-meta{margin:19px 0 9px}
.hn-scope .project-card .text-link{font-size:12px}
.hn-scope .image-card .eyebrow{color:#A20404}
.hn-scope .contact-cta .eyebrow{grid-area:eyebrow;margin:0}
.hn-scope .contact-cta .button{grid-area:action;white-space:nowrap}
.hn-scope .page-intro{padding:62px 0 36px;max-width:960px}
.hn-scope .page-intro .lead{font-size:18px;max-width:690px;line-height:1.7}
.hn-scope .page-intro h1{font-size:var(--font-page-title)}
.hn-scope .page-intro .button{margin-top:10px}
.hn-scope .results-count{font-size:11px;margin:24px 0}
.hn-scope .pagination{display:flex;justify-content:center;gap:10px;margin:45px 0;flex-wrap:wrap}
.hn-scope .pagination :is(a,button){padding:8px 16px;border:1px solid var(--line);border-radius:24px;font-size:12px}
.hn-scope .pagination [aria-current]{background:var(--ink);color:var(--paper)}
.hn-scope .empty-state{border:1px solid var(--line);border-radius:20px;padding:40px;margin:30px 0}
.hn-scope .catalog-brief>.eyebrow{grid-row:span 2}
.hn-scope .detail-intro{max-width:920px;margin:auto;text-align:center;padding-top:42px}
.hn-scope .detail-intro .back-link{display:table;margin:0 auto 35px;font-size:12px}
.hn-scope .detail-intro .post-meta{justify-content:center;margin:20px 0}
.hn-scope .detail-intro h1{font-size:var(--font-page-title)}
.hn-scope .detail-intro .lead{margin:0 auto 22px;font-size:17px}
.hn-scope .author-line{display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:var(--muted);margin-bottom:12px}
.hn-scope .author-line img{border-radius:50%}
.hn-scope .detail-cover{display:block;overflow:hidden;border-radius:24px;max-height:630px;margin:10px 0 45px;background:var(--surface)}
.hn-scope .detail-cover img{width:100%;max-height:630px;object-fit:cover}
.hn-scope .demo-notice,.hn-scope .original-language{border:1px solid var(--line);border-radius:12px;padding:12px 20px;font-size:12px;color:var(--muted);max-width:850px;margin:0 auto 25px;text-align:center}
.hn-scope .prose{max-width:760px;margin:0 auto 50px;font-size:17px;line-height:1.85;overflow-wrap:anywhere}
.hn-scope .prose p{color:var(--muted);margin-bottom:24px}
.hn-scope .prose h2{font-size:30px;margin:38px 0 20px}
.hn-scope .prose a:not(.button):not([data-lightbox]){color:var(--red)}
.hn-scope .prose ul{padding-left:22px;color:var(--muted)}
.hn-scope .prose li{margin:10px 0}
.hn-scope .prose blockquote{border-left:3px solid var(--red);padding:26px 28px;margin:32px 0;background:var(--surface);border-radius:0 18px 18px 0;font-size:24px;line-height:1.45;letter-spacing:-.025em}
.hn-scope .prose blockquote p{color:var(--ink);margin:0}
.hn-scope .prose cite{font-size:12px;font-style:normal;color:var(--muted);display:block;margin-top:16px;letter-spacing:0}
.hn-scope .prose figure{margin:30px 0}
.hn-scope .prose figure img{border-radius:16px;width:100%}
.hn-scope .prose figcaption{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.5;text-align:center}
.hn-scope .prose hr{border:0;border-top:1px solid var(--line);margin:40px 0}
.hn-scope .callout{padding:26px 28px;background:var(--soft);border-radius:18px;margin:32px 0}
.hn-scope .callout h2{font-size:23px;margin-top:0}
.hn-scope .callout p:last-child{margin-bottom:0}
.hn-scope .gallery-block{margin:40px -110px;max-width:980px}
.hn-scope .gallery-grid{display:grid;gap:14px}
.hn-scope .gallery-grid figure{margin:0;min-width:0}
.hn-scope .gallery-grid a{position:relative;display:block;overflow:hidden;border-radius:16px}
.hn-scope .gallery-grid img{width:100%;height:100%;object-fit:cover}
.hn-scope .zoom-mark{position:absolute;bottom:12px;right:12px;background:#ffffffee;color:#202329;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:14px}
.hn-scope .is-carousel .gallery-grid{display:flex;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:0}
.hn-scope .is-carousel .gallery-grid a{max-height:590px}
.hn-scope .gallery-controls{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:12px}
.hn-scope .gallery-controls>div{display:flex;gap:8px;align-items:center}
.hn-scope .gallery-controls .text-link{font-size:11px;margin-left:12px}
.hn-scope .video-shell{position:relative;aspect-ratio:16/9;border-radius:20px;background:#1b1e24;overflow:hidden;min-height:220px}
.hn-scope .video-shell>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.4}
.hn-scope .video-shell>button{position:absolute;inset:0;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;padding:25px}
.hn-scope .video-shell small{font-size:11px;color:#eee;max-width:330px;line-height:1.5;margin-top:10px}
.hn-scope .play-symbol{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#A20404;margin-bottom:16px;font-size:23px;padding-left:4px}
.hn-scope .video-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.hn-scope .audio-card{padding:28px;background:var(--surface);border:1px solid var(--line);border-radius:22px;margin:35px 0}
.hn-scope .audio-card h2{font-size:24px;margin:0 0 20px}
.hn-scope .audio-card .eyebrow{margin-bottom:10px}
.hn-scope .audio-card audio{width:100%;height:42px}
.hn-scope .audio-tools{display:flex;gap:20px;align-items:center;flex-wrap:wrap;font-size:12px;margin-top:15px}
.hn-scope .audio-tools select{background:var(--paper);border:1px solid var(--line);color:var(--ink);border-radius:5px}
.hn-scope .audio-card details{font-size:13px;margin-top:20px}
.hn-scope .source-note{font-size:12px;border-top:1px solid var(--line);padding-top:20px}
.hn-scope .lightbox{position:fixed;inset:0;margin:auto;background:#13151a;color:#fff;width:calc(100% - 32px);max-width:1400px;height:calc(calc(100dvh / var(--lc-zoom, 1)) - 32px);max-height:1100px;border:1px solid #ffffff25;border-radius:20px;padding:54px 70px 45px;overflow:hidden}
.hn-scope .lightbox::backdrop{background:#000d;backdrop-filter:blur(8px)}
.hn-scope .lightbox figure{height:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.hn-scope .lightbox figure img{object-fit:contain;max-height:calc(100% - 40px);width:auto;max-width:100%;border-radius:5px}
.hn-scope .lightbox figcaption{font-size:13px;color:#ddd;text-align:center;line-height:1.4;overflow:auto;max-height:60px}
.hn-scope .lightbox .icon-button{background:#272b32;border-color:#ffffff25;color:white}
.hn-scope .lightbox-toolbar{position:absolute;left:24px;right:18px;top:14px;display:flex;justify-content:space-between;align-items:center;font-size:12px}
.hn-scope .lightbox-prev,.hn-scope .lightbox-next{position:absolute;top:50%;transform:translateY(-50%)}
.hn-scope .lightbox-prev{left:16px}
.hn-scope .lightbox-next{right:16px}
.hn-scope .toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);max-width:80%;border-radius:14px;padding:13px 22px;background:var(--ink);color:var(--paper);box-shadow:0 10px 40px #0002;z-index:1100;font-size:13px}
.hn-scope .profile-card .text-link{display:flex;margin-top:20px;font-size:13px}
.hn-scope .contact-form>.button{width:100%;justify-content:space-between;margin-top:5px}
.hn-scope .notice{padding:15px;border-radius:12px;background:var(--soft);border:1px solid var(--line);font-size:13px}
.hn-scope .notice-error{border-color:var(--red)}
@media(max-width:1200px){.hn-scope .gallery-block{margin-left:-40px;margin-right:-40px}
}
@media(max-width:900px){.hn-scope .gallery-block{margin-left:0;margin-right:0}
}
@media(max-width:650px){.hn-scope .header-controls .icon-button{width:34px;height:34px}
.hn-scope .eyebrow{font-size:9px;letter-spacing:.12em}
.hn-scope .home-intro .eyebrow{margin-bottom:16px}
.hn-scope .intro-note .text-link{margin-left:51px;font-size:12px}
.hn-scope .feature-copy .button{min-height:43px;padding:11px 18px;font-size:12px}
.hn-scope .section-heading{align-items:start;flex-direction:column;gap:15px;margin-bottom:24px}
.hn-scope .section-heading h2{font-size:31px}
.hn-scope .section-heading>.text-link{font-size:12px}
.hn-scope .section-heading p:not(.eyebrow){font-size:13px}
.hn-scope .story-card>.post-meta{margin-top:16px}
.hn-scope .contact-cta .button{min-height:40px;padding:8px 15px;justify-self:start}
.hn-scope .page-intro{padding:36px 0 24px}
.hn-scope .page-intro h1{font-size:42px}
.hn-scope .page-intro .lead{font-size:15px}
.hn-scope .catalog-brief>.eyebrow{grid-row:auto;margin-bottom:0}
.hn-scope .detail-intro h1{font-size:38px}
.hn-scope .detail-intro .lead{font-size:15px}
.hn-scope .detail-cover{border-radius:18px;margin-bottom:30px;max-height:400px}
.hn-scope .detail-cover img{max-height:400px}
.hn-scope .prose{font-size:16px;line-height:1.8}
.hn-scope .prose h2{font-size:27px;margin-top:30px}
.hn-scope .prose blockquote{font-size:23px;padding:20px;margin:28px 0}
.hn-scope .gallery-grid{gap:9px}
.hn-scope .gallery-grid figcaption{font-size:10px}
.hn-scope .gallery-grid a{border-radius:12px}
.hn-scope .gallery-block{margin-top:28px;margin-bottom:28px}
.hn-scope .gallery-controls .icon-button{width:33px;height:33px}
.hn-scope .audio-card{padding:22px}
.hn-scope .audio-card h2{font-size:22px}
.hn-scope .lightbox{width:100%;height:calc(100dvh / var(--lc-zoom, 1));max-height:calc(100dvh / var(--lc-zoom, 1));border:0;border-radius:0;padding:65px 12px 80px}
.hn-scope .lightbox-prev,.hn-scope .lightbox-next{top:auto;bottom:18px;transform:none;z-index:1}
.hn-scope .lightbox-prev{left:calc(50% - 48px)}
.hn-scope .lightbox-next{right:calc(50% - 48px)}
.hn-scope .profile-card .text-link{font-size:12px;margin-top:18px}
}
@media print{.hn-scope .lightbox{display:none!important}
.hn-scope .page-intro{padding:0 0 20px}
}
.hn-scope .portfolio-feature-copy>.post-meta{margin:0 0 22px}
@media(max-width:650px){.hn-scope .catalog-actions .button{width:100%;justify-content:center}
}
@media(max-width:650px){.hn-scope .status-actions .button{width:100%;justify-content:center}
}
.hn-scope .dialog-open{overflow:hidden}
.hn-scope .clipboard-fallback{width:100%;padding:12px}
.hn-scope .review-verdict{max-width:900px;margin:40px auto;display:flex;gap:24px;align-items:center;padding:28px;border-radius:20px;background:var(--card);border:1px solid var(--line)}
.hn-scope .review-verdict p{line-height:1.6}
@media(max-width:650px){.hn-scope .review-verdict{padding:22px;gap:18px}
}
.hn-scope .memory-stats .button{min-height:38px;font-size:11px;padding:8px 14px}
.hn-scope .button-outline{border:1px solid var(--line);background:var(--surface)}
.hn-scope .notice{padding:15px 18px;border-radius:12px;background:var(--soft);color:var(--ink);font-size:14px}
.hn-scope .notice-error{border:1px solid var(--red);color:var(--red)}
.hn-scope .video-shell{width:100%;min-width:0;min-height:0}
.hn-scope .video-shell button{min-width:0;max-width:100%;padding:18px}
.hn-scope .video-shell small{max-width:100%;white-space:normal}
@media(max-width:360px){.hn-scope .header-controls .icon-button{width:34px;height:34px}
.hn-scope .play-symbol{width:42px;height:42px;margin-bottom:8px;font-size:18px}
.hn-scope .video-shell small{font-size:9px}
}
.hn-scope .about-connect .eyebrow{color:#A20404}
@media(max-width:650px){.hn-scope .about-connect-actions .button{justify-content:space-between}
}
.hn-scope .archive-grid>.archive-side>.post-meta,.hn-scope .archive-grid>.archive-side>.text-link{margin-left:8px;margin-right:8px}
.hn-scope .archive-grid>.archive-wide>.post-meta{grid-column:2;grid-row:1;margin:12px 0}
.hn-scope .archive-grid>.archive-wide>.text-link{grid-column:2;grid-row:5;align-self:end;margin-bottom:12px}
@media(max-width:650px){.hn-scope .archive-grid>.archive-side>.post-meta,.hn-scope .archive-grid>.archive-side>.text-link{margin-left:0;margin-right:0}
.hn-scope .archive-grid>.story-card:nth-child(3n+2)>.post-meta{grid-column:2;margin:1px 0 8px}
.hn-scope .archive-grid>.story-card:nth-child(3n+2)>.text-link{grid-column:2;font-size:11px}
.hn-scope .archive-grid>.story-card:nth-child(3n+2) .story-image>.demo-pill{left:7px;top:7px;font-size:7px!important}
}
.hn-scope .technology-intro{display:flex;align-items:end;justify-content:space-between;gap:2rem;padding:clamp(2.25rem,calc(4vw / var(--lc-zoom, 1)),3.5rem) 0 1.25rem}
.hn-scope .technology-intro h1{font-size:var(--font-page-title);line-height:.94;letter-spacing:-.055em;margin:.35rem 0 .7rem}
.hn-scope .technology-intro .lead{max-width:42rem}
.hn-scope .technology-search{display:flex;align-items:center;width:min(27rem,100%);border:1px solid var(--line);border-radius:999px;background:var(--surface);padding:.35rem}
.hn-scope .technology-search input{border:0;background:transparent;min-width:0;width:100%;padding:.75rem 1rem;color:inherit;outline:0}
.hn-scope .technology-feed{display:grid;grid-template-columns:minmax(0,2fr) minmax(16rem,.72fr);gap:clamp(2rem,calc(5vw / var(--lc-zoom, 1)),5rem);align-items:start}
.hn-scope .technology-feed h2{font-size:var(--font-section-title);letter-spacing:-.04em}
.hn-scope .technology-latest>.section-heading{display:block}
.hn-scope .technology-row{border-top:1px solid var(--line);padding:1.2rem 0}
.hn-scope .technology-row>a{display:grid;grid-template-columns:minmax(11rem,15rem) 1fr;gap:1.4rem;align-items:center;color:inherit;text-decoration:none}
.hn-scope .technology-row img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:1rem}
.hn-scope .technology-row span{display:grid;gap:.45rem}
.hn-scope .technology-row em{font-style:normal;color:var(--muted);font-size:15px;line-height:1.55}
.hn-scope .technology-row strong{font-size:var(--font-card-title);line-height:1.08}
.hn-scope .technology-popular{position:sticky;top:7rem;background:var(--ink);color:var(--paper);border-radius:var(--radius-lg);padding:clamp(1.5rem,calc(3vw / var(--lc-zoom, 1)),2.5rem)}
.hn-scope .technology-popular ol{list-style:none;padding:0;margin:1rem 0 0;counter-reset:pick}
.hn-scope .technology-popular li{counter-increment:pick;border-top:1px solid rgba(255,255,255,.16)}
.hn-scope .technology-popular a{display:grid;grid-template-columns:2rem 1fr;gap:.75rem;padding:1.15rem 0;color:inherit;text-decoration:none}
.hn-scope .technology-popular a:before{content:counter(pick,decimal-leading-zero);color:var(--red);font-weight:800}
.hn-scope .technology-popular a strong,.hn-scope .technology-popular a small{grid-column:2}
.hn-scope .technology-popular a small{color:#aeb2b9;margin-top:-.4rem}
@media(max-width:900px){.hn-scope .technology-intro{align-items:start;flex-direction:column;gap:1.25rem}
.hn-scope .technology-feed{grid-template-columns:1fr}
.hn-scope .technology-popular{position:static}
}
@media(max-width:600px){.hn-scope .technology-intro{padding:2rem 0 1.1rem}
.hn-scope .technology-intro h1{font-size:clamp(2.6rem,calc(12vw / var(--lc-zoom, 1)),3rem)}
.hn-scope .technology-row>a{grid-template-columns:7.5rem 1fr;gap:1rem}
.hn-scope .technology-row em{display:none}
}
.hn-scope .home-quotation .eyebrow{color:#ff4b4f}
.hn-scope .quotation-submit .button{flex-shrink:0}
@media(max-width:600px){.hn-scope .quotation-submit .button{justify-content:center;width:100%}
}
.hn-scope .catalog-actions .button{margin:0}
@media(max-width:650px){.hn-scope .catalog-actions .button{width:100%;justify-content:center}
}
.hn-scope.page-blog .detail-post{max-width:1050px;margin:0;text-align:left;padding:clamp(38px,calc(6vw / var(--lc-zoom, 1)),72px) 0 30px}
.hn-scope.page-blog .detail-post .back-link{display:inline-flex;margin:0 0 34px}
.hn-scope.page-blog .detail-post .post-meta{justify-content:flex-start;margin:0 0 18px}
.hn-scope.page-blog .detail-post h1{max-width:980px;margin-bottom:18px;font-size:clamp(42px,calc(4.5vw / var(--lc-zoom, 1)),58px);line-height:1}
.hn-scope.page-blog .detail-post .lead{max-width:820px;margin:0 0 24px;font-size:clamp(17px,calc(1.6vw / var(--lc-zoom, 1)),21px);line-height:1.55}
.hn-scope.page-blog .detail-post .author-line{justify-content:flex-start;margin:0}
.hn-scope.page-blog .detail-post .author-line>span{display:grid;line-height:1.3}
.hn-scope.page-blog .detail-post .author-line strong{font-size:13px;color:var(--ink)}
.hn-scope.page-blog .detail-post .author-line small{font-size:11px;color:var(--muted)}
.hn-scope.page-blog .detail-cover-frame{max-width:1100px;margin:8px 0 48px}
.hn-scope.page-blog .detail-cover-frame .detail-cover{margin:0;max-height:650px}
.hn-scope.page-blog .detail-cover-frame figcaption{margin:10px 4px 0;color:var(--muted);font-size:11px}
.hn-scope.page-blog .demo-notice,.hn-scope.page-blog .original-language,.hn-scope.page-blog .review-verdict{max-width:1100px;margin-left:0;text-align:left}
.hn-scope .post-reading-layout{display:grid;grid-template-columns:64px minmax(0,760px) minmax(230px,300px);gap:clamp(24px,calc(3vw / var(--lc-zoom, 1)),42px);align-items:start;max-width:1200px;margin:0 0 55px}
.hn-scope .post-reading-layout .prose{grid-column:2;max-width:none;width:100%;margin:0}
.hn-scope .post-share-rail{grid-column:1;position:sticky;top:28px;display:grid;justify-items:center;gap:9px}
.hn-scope .post-share-rail>span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-weight:800}
.hn-scope .post-share-rail a,.hn-scope .post-share-rail button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);font-size:10px;font-weight:800;padding:0;text-decoration:none;cursor:pointer}
.hn-scope .post-share-rail a:hover,.hn-scope .post-share-rail button:hover,.hn-scope .post-share-rail a:focus-visible,.hn-scope .post-share-rail button:focus-visible{border-color:var(--red);color:var(--red)}
.hn-scope .post-related-rail{grid-column:3;position:sticky;top:28px;padding:24px;border-radius:var(--radius-lg);background:var(--ink);color:var(--paper)}
.hn-scope .post-related-rail:empty{display:none}
.hn-scope .post-related-rail h2{font-size:28px;margin:5px 0 16px}
.hn-scope .post-related-rail .eyebrow{color:var(--red)}
.hn-scope .post-related-rail>a{display:grid;grid-template-columns:24px 1fr;gap:4px 10px;padding:15px 0;border-top:1px solid #ffffff20;color:inherit;text-decoration:none}
.hn-scope .post-related-rail>a>span{grid-row:1/3;color:var(--red);font-size:11px;font-weight:800}
.hn-scope .post-related-rail>a>strong{font-size:14px;line-height:1.35}
.hn-scope .post-related-rail>a>small{font-size:10px;color:#b8bdc6}
.hn-scope .post-related-rail>a:hover strong,.hn-scope .post-related-rail>a:focus-visible strong{color:var(--red)}
@media(max-width:1050px){.hn-scope .post-reading-layout{grid-template-columns:52px minmax(0,1fr) 250px;gap:22px}
.hn-scope.page-blog .detail-post h1{font-size:clamp(42px,calc(5.5vw / var(--lc-zoom, 1)),58px)}
}
@media(max-width:850px){.hn-scope .post-reading-layout{grid-template-columns:minmax(0,760px);max-width:760px;margin-inline:auto}
.hn-scope .post-reading-layout .prose,.hn-scope .post-share-rail,.hn-scope .post-related-rail{grid-column:1}
.hn-scope .post-share-rail{position:static;display:flex;justify-content:flex-start;margin-bottom:4px}
.hn-scope .post-share-rail>span{align-self:center;margin-right:4px}
.hn-scope .post-related-rail{position:static;margin-top:20px}
}
@media(max-width:650px){.hn-scope.page-blog .detail-post{padding:32px 0 22px}
.hn-scope.page-blog .detail-post .back-link{margin-bottom:26px}
.hn-scope.page-blog .detail-post h1{font-size:38px}
.hn-scope.page-blog .detail-post .lead{font-size:16px}
.hn-scope.page-blog .detail-cover-frame{margin-bottom:30px}
.hn-scope.page-blog .detail-cover-frame .detail-cover{margin-bottom:0}
.hn-scope .post-reading-layout{margin-bottom:38px}
.hn-scope .post-related-rail{padding:22px}
.hn-scope .post-share-rail a,.hn-scope .post-share-rail button{width:36px;height:36px}
}
.hn-scope .post-reading-layout{grid-template-columns:56px minmax(0,760px) minmax(280px,1fr);max-width:none}
.hn-scope .post-related-rail{padding:26px;background:var(--ink);color:var(--paper);display:grid;gap:0}
.hn-scope .post-related-rail .rail-section+.rail-section{margin-top:24px;padding-top:24px;border-top:1px solid #ffffff24}
.hn-scope .post-related-rail .rail-section h2{font-size:25px;line-height:1.05}
.hn-scope .post-related-rail ol{list-style:none;counter-reset:rail-story;margin:0;padding:0}
.hn-scope .post-related-rail li{counter-increment:rail-story;border-top:1px solid #ffffff20}
.hn-scope .post-related-rail li a{display:grid;grid-template-columns:25px 1fr;gap:5px 10px;padding:14px 0;color:inherit;text-decoration:none}
.hn-scope .post-related-rail li a:before{content:counter(rail-story,decimal-leading-zero);grid-row:1/3;color:var(--red);font-size:10px;font-weight:800}
.hn-scope .post-related-rail li strong{font-size:14px;line-height:1.35}
.hn-scope .post-related-rail li small{color:#b8bdc6;font-size:9px;line-height:1.35;text-transform:uppercase;letter-spacing:.04em}
.hn-scope .post-related-rail li a:hover strong,.hn-scope .post-related-rail li a:focus-visible strong{color:var(--red)}
.hn-scope .post-related-rail .rail-all-stories{display:inline-flex;margin-top:18px;color:var(--paper);font-size:11px;font-weight:750}
.hn-scope .post-related-rail .rail-all-stories:hover{color:var(--red)}
.hn-scope .post-reading-layout .prose{min-width:0}
.hn-scope .post-reading-layout .gallery-block{width:100%;max-width:100%;margin-left:0;margin-right:0}
.hn-scope .post-reading-layout .gallery-grid,.hn-scope .post-reading-layout .gallery-controls{width:100%;max-width:100%}
.hn-scope .post-reading-layout .gallery-controls{padding-inline:2px}
.hn-scope .post-reading-layout .video-block,.hn-scope .post-reading-layout .audio-card,.hn-scope .post-reading-layout .social-shell,.hn-scope .post-reading-layout .remote-image{width:100%;max-width:100%}
@media(max-width:1050px){.hn-scope .post-reading-layout{grid-template-columns:minmax(0,760px);max-width:760px;margin-inline:auto}
.hn-scope .post-reading-layout .prose,.hn-scope .post-share-rail{grid-column:1}
.hn-scope .post-share-rail{position:static;display:flex;justify-content:flex-start;margin-bottom:4px}
.hn-scope .post-share-rail>span{align-self:center;margin-right:4px}
.hn-scope .post-related-rail{display:none}
}
@media(max-width:650px){.hn-scope .post-reading-layout{max-width:none;width:100%}
.hn-scope .post-reading-layout .prose{min-width:0;width:100%}
.hn-scope .prose figure,.hn-scope .gallery-block,.hn-scope .video-block,.hn-scope .audio-card,.hn-scope .social-shell,.hn-scope .remote-image{max-width:100%}
}
.hn-scope .post-tag-cloud{border:1px solid var(--line);border-radius:26px;background:var(--surface);min-width:0}
.hn-scope .post-tag-cloud nav{display:flex;flex-wrap:wrap}
.hn-scope .post-tag-cloud :is(a,button){display:inline-flex;align-items:center;gap:7px;max-width:100%;overflow-wrap:anywhere;line-height:1.4}
.hn-scope .post-tag-cloud :is(a,button):hover{background:var(--soft);color:var(--red)}
.hn-scope .post-tag-cloud small{color:var(--muted);font-size:10px}
.hn-scope .post-tag-cloud .tag-weight-3{font-weight:650}
.hn-scope .post-conclusion{display:grid;grid-template-columns:56px minmax(0,760px) minmax(280px,1fr);column-gap:clamp(24px,calc(3vw / var(--lc-zoom, 1)),42px);row-gap:26px;align-items:start;margin:32px 0 70px}
.hn-scope .post-conclusion>.post-tag-cloud{grid-column:2;grid-row:1;padding:23px}
.hn-scope .post-conclusion>.post-tag-cloud nav{gap:7px}
.hn-scope .post-conclusion>.post-tag-cloud :is(a,button){border:0;border-radius:12px;background:var(--paper);padding:7px 10px;font-size:12px}
.hn-scope .post-conclusion>.post-tag-cloud .tag-weight-2{font-size:14px}
.hn-scope .post-conclusion>.post-tag-cloud .tag-weight-3{font-size:16px}
.hn-scope .post-share-rail{transition:opacity .18s ease,transform .18s ease}
.hn-scope .post-share-rail.is-leaving{opacity:0;transform:translateY(-10px);pointer-events:none}
@media(max-width:1050px){.hn-scope .post-conclusion{display:block;max-width:760px;margin:30px auto 60px}
}
@media(max-width:650px){.hn-scope .post-conclusion{max-width:none;width:100%;margin:26px 0 48px}
}

.hn-scope .intro-note .text-link{margin-left:0;font-size:12px}
@media(max-width:650px){.hn-scope .intro-note .text-link{margin-left:0;font-size:12px}
}
.hn-scope .catalog-toolbar .button{margin:0}
@media(max-width:650px){.hn-scope .catalog-toolbar .button{justify-content:center;width:100%}
}
.hn-scope .catalog-brief>.eyebrow{grid-column:1;grid-row:1;margin:0}
@media(max-width:900px){.hn-scope .catalog-brief>.eyebrow{grid-column:1;grid-row:auto}
}
.hn-scope .home-project-carousel .portfolio-carousel-heading p:not(.eyebrow){max-width:560px;margin:14px 0 0;color:var(--muted);font-size:14px}
.hn-scope .home-project-carousel-actions>.text-link{white-space:nowrap}
@media(max-width:800px){.hn-scope .home-project-carousel-actions>.text-link{font-size:12px}
}
@media(max-width:650px){.hn-scope .home-project-carousel .portfolio-carousel-heading p:not(.eyebrow){font-size:13px}
}
.hn-scope .public-alert-enhanced [data-public-alert],.hn-scope .public-alert-enhanced .notice-error[role=alert],.hn-scope .public-alert-enhanced .notice[role=status]{display:none}
.hn-scope .public-alert-dialog{width:min(470px,calc(100% - 32px));max-width:none;padding:0;border:0;border-radius:28px;background:transparent;color:var(--ink);overflow:visible}
.hn-scope .public-alert-dialog::backdrop{background:rgb(16 19 25 / 68%);backdrop-filter:blur(7px);animation:public-alert-backdrop .22s ease-out}
.hn-scope .public-alert-card{position:relative;display:flex;align-items:center;flex-direction:column;padding:42px 42px 38px;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:28px;background:var(--surface);box-shadow:0 28px 90px rgb(12 15 20 / 30%);text-align:center;animation:public-alert-pop .42s cubic-bezier(.2,.85,.25,1.15)}
.hn-scope .public-alert-close{position:absolute;right:16px;top:14px;display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);font-size:26px;line-height:1}
.hn-scope .public-alert-close:hover,.hn-scope .public-alert-close:focus-visible{background:var(--paper);color:var(--red)}
.hn-scope .public-alert-icon{width:82px;height:82px;margin-bottom:23px}
.hn-scope .public-alert-icon svg{display:none;width:100%;height:100%;fill:none;stroke:var(--red);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.hn-scope .public-alert-dialog.is-success .public-alert-success,.hn-scope .public-alert-dialog.is-error .public-alert-error,.hn-scope .public-alert-dialog.is-warning .public-alert-warning{display:block}
.hn-scope .public-alert-icon circle{stroke-dasharray:1;stroke-dashoffset:1;animation:public-alert-draw .55s .12s ease-out forwards}
.hn-scope .public-alert-icon path{stroke-dasharray:1;stroke-dashoffset:1;animation:public-alert-draw .35s .5s ease-out forwards}
.hn-scope .public-alert-card>.eyebrow{justify-content:center;margin:0 0 10px}
.hn-scope .public-alert-card h2{margin:0 0 12px;font-size:34px}
.hn-scope .public-alert-card>p{max-width:350px;margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.hn-scope .public-alert-confirm{min-width:165px;margin-top:26px}
.hn-scope .public-alert-dialog.is-error .public-alert-card{box-shadow:inset 0 3px var(--red),0 28px 90px rgb(12 15 20 / 30%)}
@media(max-width:500px){.hn-scope .public-alert-dialog{width:min(390px,calc(100% - 28px));border-radius:22px}
.hn-scope .public-alert-card{padding:36px 24px 30px;border-radius:22px}
.hn-scope .public-alert-icon{width:72px;height:72px;margin-bottom:18px}
.hn-scope .public-alert-card h2{font-size:29px}
.hn-scope .public-alert-card>p{font-size:13px}
.hn-scope .public-alert-confirm{width:100%}
}

.hn-scope .social-shell{border:1px solid var(--line);background:var(--surface);border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;padding:30px;gap:14px;margin:25px 0 14px;overflow:hidden}
.hn-scope .social-symbol{font-size:60px;line-height:1;color:var(--red)}
.hn-scope .social-shell>p{font-size:12px;margin:0}
.hn-scope .social-shell iframe{border:0;width:100%;height:100%;min-height:520px;display:block}
.hn-scope .social-shell.embed-loaded{padding:0;display:block}
.hn-scope .social-shell.embed-audio iframe{min-height:352px}
.hn-scope .social-shell.embed-portrait{max-width:520px;margin-left:auto;margin-right:auto}
.hn-scope .social-block>.text-link{display:table;margin:15px auto;font-size:12px}
.hn-scope .remote-image>[data-remote-image]:not(.image-loaded){padding:45px 25px;border-radius:20px;border:1px solid var(--line);background:var(--surface);text-align:center}
.hn-scope .remote-image small{display:block;margin-top:15px;font-size:11px;color:var(--muted)}
@media(max-width:750px){.hn-scope .social-shell{padding:22px}
}
.hn-scope .post-reading-layout>.post-lead{grid-column:2;grid-row:1;min-width:0}
.hn-scope .post-reading-layout>.post-share-rail,.hn-scope .post-reading-layout>.prose{grid-row:2}
.hn-scope .post-reading-layout>.post-related-rail{grid-row:1 / span 2}
.hn-scope .post-lead .demo-notice,.hn-scope .post-lead .original-language,.hn-scope .post-lead .review-verdict{max-width:none;margin:0 0 20px}
.hn-scope .post-lead .detail-cover-frame{max-width:none;margin:0 0 40px}
@media(max-width:1050px){.hn-scope .post-reading-layout>.post-lead{grid-column:1}
.hn-scope .post-reading-layout>.post-lead,.hn-scope .post-reading-layout>.post-share-rail,.hn-scope .post-reading-layout>.prose{grid-row:auto}
.hn-scope .post-lead .detail-cover-frame{margin-bottom:26px}
}
/* An announcement flyer: the whole poster (never cropped), opening in the lightbox, with a download link. */
.hn-scope.page-blog .lc-flyer{max-width:620px;margin:8px 0 40px}
.hn-scope.page-blog .lc-flyer a:first-child{display:block;border-radius:14px;overflow:hidden;background:#131418;box-shadow:0 18px 40px rgb(0 0 0 / 18%)}
.hn-scope.page-blog .lc-flyer img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.hn-scope.page-blog .lc-flyer figcaption{margin-top:10px}
/* Formatted text in posts (RichText): headings, lists and quotes inside a text block. */
.hn-scope .prose h3{margin:1.4em 0 .5em;font-size:1.25em}
.hn-scope .prose ol{padding-left:1.4em}
/* The reading rail is the inverse of the page (dark on a light page, light on a dark page), so its accents and small
   text take colours that stay readable on the rail itself. */
.hn-scope .post-related-rail{--rail-accent:#ff6b70;--rail-meta:#b8bdc6}
[data-site-theme=dark] .hn-scope .post-related-rail{--rail-accent:#a20404;--rail-meta:#4f5560}
.hn-scope .post-related-rail .eyebrow,.hn-scope .post-related-rail li a:before,.hn-scope .post-related-rail>a>span,
.hn-scope .post-related-rail li a:hover strong,.hn-scope .post-related-rail li a:focus-visible strong,
.hn-scope .post-related-rail>a:hover strong,.hn-scope .post-related-rail>a:focus-visible strong{color:var(--rail-accent)}
.hn-scope .post-related-rail li small,.hn-scope .post-related-rail>a>small{color:var(--rail-meta)}
/* Lists written in a post keep their bullets and numbers (the site-wide reset removes list markers from every li). */
.hn-scope .prose ul>li{list-style:disc}
.hn-scope .prose ol>li{list-style:decimal}
.hn-scope .prose li::marker{color:var(--red)}
