/* Mezaic public site, extracted from designs/Home, Post, Archive */
/* Fallback tokens (Paper, light). Each site inlines its own theme <style> after this sheet; see internal/theme. */
:root{--bg:#f4f3f0;--card:#fff;--fg:#1f1f1f;--muted:#6b6b66;--faint:#9a9a94;--faint2:#a7a7a1;--border:#ecebe7;--border2:#e3e2dd;--hover:#e9e8e3;--dark:#1f1f1f;--dark2:#2c2c2a;--dark3:#3a3a37;--on-dark:#fff;--on-dark-soft:rgba(255,255,255,.78);--on-dark-muted:rgba(255,255,255,.6);--green:#2f9e73;--red:#b4553f;--body:#4a4a46;--sel:var(--avatar-bg);--light:rgba(255,255,255,.78);--avatar-bg:var(--avatar-bg);--bg-glass:var(--bg-glass);--font-body:Manrope,Helvetica,Arial,sans-serif;--font-head:Manrope,Helvetica,Arial,sans-serif;--font-prose:'Source Serif 4',Georgia,serif;--font-mono:'JetBrains Mono',ui-monospace,Menlo,monospace;--avatar-r:24px;--avatar-r-sm:16px;--btn-r:999px}
html,body{margin:0;padding:0;background:var(--bg);color:var(--fg);font-family:var(--font-body);-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
a{color:var(--fg);text-decoration:none}
a:hover{color:var(--muted)}
button{font-family:inherit}
::selection{background:var(--sel)}
.wrap{min-height:100vh;max-width:760px;margin:0 auto;padding:24px;display:flex;flex-direction:column;gap:20px}
.card{background:var(--card);border-radius:28px}
.pill{display:inline-flex;align-items:center;border:0;cursor:pointer;font-size:13px;font-weight:700;padding:9px 14px;border-radius:var(--btn-r);background:var(--bg);color:var(--fg);white-space:nowrap}
.pill:hover{background:var(--hover);color:var(--fg)}
.pill.active{background:var(--dark);color:var(--on-dark)}
.pill.active:hover{background:var(--dark3);color:var(--on-dark)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer;font-size:13px;font-weight:700;padding:10px 16px;border-radius:var(--btn-r);background:var(--bg);color:var(--fg);white-space:nowrap}
.btn:hover{background:var(--hover);color:var(--fg)}
.btn-dark{background:var(--dark);color:var(--on-dark);padding:10px 18px}
.btn-dark:hover{background:var(--dark3);color:var(--on-dark)}
.btn-white{background:var(--card)}
.btn-white:hover{background:var(--hover)}

/* header */
.hdr{padding:28px 32px;display:flex;flex-direction:column;gap:22px}
.hdr-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.hdr-actions{display:flex;gap:8px}
.avatar{width:96px;height:96px;flex:0 0 96px;border-radius:var(--avatar-r);background:var(--avatar-bg);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:28px;overflow:hidden;color:var(--fg)}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}
.avatar-sm{width:44px;height:44px;flex:0 0 44px;border-radius:var(--avatar-r-sm);font-size:15px}
.avatar-md{width:72px;height:72px;flex:0 0 72px;border-radius:var(--avatar-r-sm);font-size:22px}
.name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hdr h1{font-size:30px;font-weight:800;letter-spacing:-0.02em;line-height:1.1;margin:0}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--body);background:var(--bg);border-radius:999px;padding:5px 10px;font-weight:600}
.badge .dot{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block}
.headline{font-size:15px;color:var(--muted);font-weight:500;margin-top:6px}
.bio{margin:14px 0 0;font-size:16px;line-height:1.6;max-width:600px;text-wrap:pretty;white-space:pre-line}
.hdr-nav{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:18px}
.tabs{display:flex;gap:6px;flex-wrap:wrap}
.socials{display:flex;gap:6px;flex-wrap:wrap}
.social{width:34px;height:34px;border-radius:10px;background:var(--bg);color:var(--fg);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}
.social svg{width:16px;height:16px;display:block}
.social:hover{background:var(--dark);color:var(--on-dark)}

/* cover banner + pronouns */
.hdr.has-cover{padding-top:0}
.hdr-cover{margin:0 -32px 0;height:220px;overflow:hidden;border-radius:28px 28px 0 0;background:var(--hover)}
.hdr-cover img{width:100%;height:100%;object-fit:cover;display:block}
.has-cover .hdr-top{margin-top:-46px;align-items:flex-end}
.has-cover .avatar{box-shadow:0 0 0 5px var(--card)}
.has-cover .hdr-actions{padding-bottom:6px}
.pronouns{font-size:13px;color:var(--muted);font-weight:600}
.hdr h1,.featured h2,.row-title,.sec h2,.sec-title-row h2,.post-head h1,.author-card-name,.more-wrap h3,.mcard-title,.notfound h1,.tm-name,.jcard-title,.tl-title,.tl-marker-title,.spot-title,.sub-box h3,.sub-page h2,.tm-done h2,.pcard-name,.post-nav-title,.quote blockquote,.jstat-n{font-family:var(--font-head)}

/* blog */
.featured{background:var(--dark);color:var(--on-dark);border-radius:28px;padding:30px 32px;display:flex;flex-direction:column;gap:14px}
.featured:hover{background:var(--dark2);color:var(--on-dark)}
.featured .kicker{color:var(--on-dark-muted)}
.kicker{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--faint2)}
.featured h2{margin:0;font-size:26px;line-height:1.25;font-weight:800;letter-spacing:-0.02em;text-wrap:pretty}
.featured p{margin:0;font-size:15px;line-height:1.55;color:var(--on-dark-soft);text-wrap:pretty}
.featured .meta{font-size:13px;color:var(--on-dark-muted);font-weight:600}
.list{padding:12px 32px}
.row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:22px 0;border-bottom:1px solid var(--border);color:var(--fg)}
.row:last-child{border-bottom:0}
.row:hover{color:var(--muted)}
.row-title{display:block;font-size:19px;font-weight:700;line-height:1.3;letter-spacing:-0.01em;text-wrap:pretty}
.row-sub{display:block;font-size:14px;line-height:1.55;color:var(--muted);margin-top:6px;text-wrap:pretty}
.row-meta{font-size:12px;color:var(--faint);font-weight:600;white-space:nowrap;text-align:right;line-height:1.6}
.more{display:block;text-align:center;background:var(--card);border-radius:18px;padding:16px;font-size:14px;font-weight:700}
.more:hover{background:var(--hover);color:var(--fg)}

/* updates */
.stack{display:flex;flex-direction:column;gap:10px}
.update{background:var(--card);border-radius:22px;padding:20px 24px;display:flex;flex-direction:column;gap:12px}
.update-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--faint);font-weight:600}
.update-author{display:flex;align-items:center;gap:8px}
.mini-avatar{width:26px;height:26px;border-radius:50%;background:var(--avatar-bg);display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:10px;color:var(--fg);overflow:hidden}
.mini-avatar img{width:100%;height:100%;object-fit:cover}
.update p{margin:0;font-size:16px;line-height:1.55;text-wrap:pretty;white-space:pre-line}
.update-media{max-height:420px;border-radius:16px;overflow:hidden}
.update-media img{width:100%;height:auto;display:block}

/* links */
.group{display:flex;flex-direction:column;gap:8px}
.group-name{font-size:12px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--faint);padding:6px 8px 2px}
.link{display:flex;align-items:center;gap:14px;background:var(--card);border-radius:20px;padding:16px 18px;transition:transform .15s}
.link:hover{transform:translateY(-2px);color:var(--fg)}
.link-ic{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;flex:0 0 44px;color:#1f1f1f}
.link-body{flex:1 1 auto;min-width:0}
.link-title{display:block;font-size:15px;font-weight:700}
.link-sub{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.link-arrow{font-size:14px;color:var(--faint)}
.link-ic.has-img{background:var(--bg);overflow:hidden}
.link-ic.link-brand svg{width:22px;height:22px}
.link-featured .link-ic.link-brand svg{width:26px;height:26px}
/* Player links: the button row on top, the click-to-load embed below. */
.link-player{background:var(--card);border-radius:20px;overflow:hidden}
.link-player .link-player-head{border-radius:0}
.link-player .link-player-head:hover{transform:none;background:var(--hover)}
.link-player figure.embed{margin:0;border:0;border-radius:0;border-top:1px solid var(--border)}
.link-player.link-featured{background:var(--card);color:var(--fg);padding:0}
.link-player.link-featured .link-player-head{background:var(--dark);color:var(--on-dark)}
.link-ic img{width:100%;height:100%;object-fit:cover;display:block}
.link-host{color:var(--faint)}
/* featured: a dark, taller card that leads its group */
.link-featured{background:var(--dark);color:var(--on-dark);padding:20px 22px;border-radius:22px}
.link-featured:hover{background:var(--dark2);color:var(--on-dark)}
.link-featured .link-ic{width:52px;height:52px;flex-basis:52px;border-radius:16px;font-size:17px}
.link-featured .link-title{font-size:17px}
.link-featured .link-sub{color:var(--on-dark-soft)}
.link-featured .link-host{color:var(--on-dark-muted)}
.link-featured .link-arrow{color:var(--on-dark-muted)}

/* about */
.sec{background:var(--card);border-radius:28px;padding:30px 32px}
.sec h2{font-weight:800;font-size:22px;margin:0;letter-spacing:-0.01em}
.sec-head{display:flex;justify-content:space-between;align-items:center}
.sec-head a{font-size:13px;font-weight:700;color:var(--muted)}
.job{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:18px 0;border-top:1px solid var(--border)}
.job-period{font-size:13px;color:var(--muted);font-weight:600;padding-top:3px}
.job-role{font-size:16px;font-weight:700}
.job-co{font-size:13px;color:var(--muted);font-weight:500;margin-top:2px}
.job-co a,.edu-school a,.talk-event a{color:inherit;text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:3px}
.job-co a:hover,.edu-school a:hover,.talk-event a:hover{color:var(--fg)}
.job p{margin:8px 0 0;font-size:14px;line-height:1.6;color:var(--body);text-wrap:pretty}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.edu{border-top:1px solid var(--border);padding-top:14px}
.edu-years{font-size:12px;color:var(--faint);font-weight:600}
.edu-degree{font-size:15px;font-weight:700;margin-top:4px}
.edu-school{font-size:13px;color:var(--muted);margin-top:2px}
.skills{display:flex;flex-direction:column;gap:14px;margin-top:16px}
.skill-name{font-size:12px;color:var(--faint);font-weight:600;margin-bottom:8px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;background:var(--bg)}
.dark-sec{background:var(--dark);color:var(--on-dark)}
.awards{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-top:18px}
.award{background:var(--dark2);border-radius:18px;padding:18px}
.award-year{font-size:12px;color:var(--on-dark-muted);font-weight:600}
.award-title{font-size:15px;font-weight:700;margin-top:6px;line-height:1.35}
.award-by{font-size:13px;color:var(--on-dark-muted);margin-top:4px}
.quotes{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.quote{margin:0;background:var(--card);border-radius:22px;padding:24px;display:flex;flex-direction:column;gap:16px}
.quote blockquote{margin:0;font-weight:600;font-size:17px;line-height:1.5;text-wrap:pretty}
.quote figcaption{font-size:13px;color:var(--muted);font-weight:600}
.quote-invite{border:1px dashed var(--border2, var(--muted));background:transparent;color:inherit;text-decoration:none;gap:8px;justify-content:center;transition:border-color .15s,background .15s}
.quote-invite:hover{border-color:var(--fg);background:var(--card)}
.quote-invite-kicker{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.quote-invite b{font-size:17px;font-weight:800;letter-spacing:-0.01em}
.quote-invite span:not(.quote-invite-kicker){font-size:13.5px;line-height:1.5;color:var(--muted)}
.quote-invite i{font-style:normal;font-weight:700;font-size:13px;margin-top:2px}
.foot-link{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:transparent}
.foot-link:hover{text-decoration-color:currentColor}

/* work */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.pcard{display:flex;flex-direction:column;gap:14px;background:var(--card);border-radius:22px;padding:22px;color:var(--fg);transition:transform .2s}
.pcard:hover{transform:translateY(-3px);color:var(--fg)}
.pcard-top{display:flex;justify-content:space-between;align-items:center}
.pcard-ic{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px}
.pcard-status{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.pcard-name{font-size:17px;font-weight:700}
.pcard p{margin:6px 0 0;font-size:14px;line-height:1.55;color:var(--body);text-wrap:pretty}
.pcard-metric{font-size:13px;font-weight:600;color:var(--muted)}
.ocard{display:flex;flex-direction:column;gap:8px;background:var(--card);border-radius:18px;padding:18px;color:var(--fg);transition:transform .15s,background .15s}
.ocard:hover{background:var(--hover);color:var(--fg);transform:translateY(-1px)}
.ocard-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.ocard-name{display:flex;align-items:center;gap:8px;min-width:0;font-size:15px;font-weight:800;letter-spacing:-.01em;line-height:1.3}
.ocard-name>span:last-child{overflow-wrap:anywhere}
.ocard-host{display:inline-flex;flex:0 0 18px;width:18px;height:18px;color:var(--muted)}
.ocard-host svg{width:18px;height:18px}
.ocard-stars{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;font-size:12px;font-weight:800;color:var(--fg);background:var(--bg);border-radius:999px;padding:4px 9px;font-variant-numeric:tabular-nums}
.ocard-stars svg{color:#e2b53b}
.ocard-path{font-size:12px;color:var(--faint);font-weight:600;margin-top:-4px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
.ocard-desc{font-size:13px;line-height:1.5;color:var(--body);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ocard-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;margin-top:auto;padding-top:4px;font-size:12px;color:var(--muted);font-weight:600}
.ocard-lang{display:inline-flex;align-items:center;gap:6px}
.ocard-lang i{width:10px;height:10px;border-radius:50%;flex:0 0 10px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.ocard-forks{display:inline-flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums}
.ocard-lic{color:var(--faint)}
.cards-flat .ocard,.cards-flat .ocard-stars{background:var(--bg)}
.cards-flat .ocard-stars{background:var(--card)}
.cards-flat .ocard:hover{background:var(--hover)}
.talk{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid var(--border)}
.talk-title{font-size:15px;font-weight:600;line-height:1.4}
.talk-event{font-size:13px;color:var(--muted);margin-top:4px}
.talk-year{font-size:12px;color:var(--faint);font-weight:600;white-space:nowrap}
.sec-title-row{display:flex;justify-content:space-between;align-items:center;padding:6px 8px 0}
.sec-title-row h2{font-weight:800;font-size:22px;margin:0;letter-spacing:-0.01em}
.sec-title-row a{font-size:13px;font-weight:700;color:var(--muted)}
.empty{background:var(--card);border-radius:28px;padding:56px 32px;text-align:center;color:var(--muted);font-size:15px;font-weight:500}

/* footer */
.foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 20px 16px;font-size:13px;color:var(--faint);font-weight:500}
/* Owner preview of an unpublished site: fixed dark strip above the page. */
.owner-bar{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px;padding:10px 18px;background:#1a1a19;color:#fff;border-bottom:1px solid rgba(255,255,255,.12);font-family:var(--font-body);font-size:13px;line-height:1.4}
.owner-bar__dot{width:8px;height:8px;border-radius:50%;background:#e2b53b;box-shadow:0 0 0 3px rgba(226,181,59,.25);flex:0 0 8px}
.owner-bar__text{color:rgba(255,255,255,.78)}
.owner-bar__text b{color:#fff;font-weight:800}
.owner-bar__btn{background:#fff;color:#1a1a19;font-weight:800;font-size:12px;padding:6px 12px;border-radius:999px;white-space:nowrap}
.owner-bar__btn:hover{color:#1a1a19;opacity:.9}
@media (max-width:560px){.owner-bar{font-size:12px;padding:8px 14px}}
.powered{display:inline-flex;align-items:center;gap:8px;background:var(--card);border-radius:999px;padding:8px 14px 8px 10px;color:var(--muted);font-weight:600}
.powered:hover{color:var(--fg)}
.powered .mark{width:18px;height:18px;display:inline-block;vertical-align:middle;border-radius:5px}
html[data-mode=dark] .powered .mark{background:#fff;padding:1px}
@media (prefers-color-scheme:dark){html[data-mode=auto] .powered .mark{background:#fff;padding:1px}}
.powered b{color:var(--fg);font-weight:600}

/* post */
.post-wrap{min-height:100vh;display:flex;flex-direction:column}
.topbar{position:sticky;top:0;z-index:5;background:var(--bg-glass);backdrop-filter:blur(8px)}
.progress{height:3px;background:var(--hover)}
.progress > div{height:100%;background:var(--dark);width:0}
.topbar-inner{max-width:760px;margin:0 auto;padding:14px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.back{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700}
.back .sq{width:32px;height:32px;border-radius:10px;background:var(--card);display:flex;align-items:center;justify-content:center;font-size:16px}

.readtime{font-size:13px;color:var(--muted);font-weight:600}
.article{max-width:720px;width:100%;margin:0 auto;padding:40px 24px 24px;display:flex;flex-direction:column;gap:28px}
.post-head{display:flex;flex-direction:column;gap:20px}
.tags{display:flex;gap:8px;flex-wrap:wrap}
.tag{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);background:var(--card);padding:6px 10px;border-radius:999px;text-decoration:none}
a.tag:hover{background:var(--dark);color:var(--on-dark)}
.preview-bar{background:#fbeccf;color:#6b4d0b;font-size:13px;font-weight:600;text-align:center;padding:10px 16px}
.preview-bar b{font-weight:800}
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.post-nav-link{display:flex;flex-direction:column;gap:6px;background:var(--card);border-radius:18px;padding:16px 18px;text-decoration:none;color:var(--fg);min-width:0;transition:transform .15s}
.post-nav-link:hover{transform:translateY(-2px)}
.post-nav-link.next{text-align:right;align-items:flex-end}
.post-nav-kicker{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.post-nav-title{font-weight:700;font-size:15px;letter-spacing:-.01em;line-height:1.3}
.post-foot a{color:var(--fg)}
.arch-clear{display:inline-block;margin-top:6px;font-size:13px;font-weight:600;color:var(--muted);text-decoration:none}
.arch-clear:hover{color:var(--fg)}
@media (max-width:600px){.post-nav{grid-template-columns:1fr}.post-nav-link.next{text-align:left;align-items:flex-start}}
.post-head h1{font-weight:800;font-size:clamp(32px,5vw,52px);line-height:1.08;letter-spacing:-0.025em;margin:0;text-wrap:pretty}
.lede{margin:0;font-family:var(--font-prose);font-size:21px;line-height:1.5;color:var(--body);text-wrap:pretty}
.byline{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--border2);border-bottom:1px solid var(--border2);padding:16px 0}
.author{display:flex;align-items:center;gap:12px}
.author-name{display:block;font-size:14px;font-weight:700}
.author-meta{display:block;font-size:12px;color:var(--muted);font-weight:600}
.cover-hero{max-height:480px;border-radius:24px;overflow:hidden}
.cover-hero img{width:100%;height:100%;object-fit:cover;display:block}
.prose{font-family:var(--font-prose);font-size:20px;line-height:1.7;color:var(--fg)}
.prose > *{margin:0 0 26px}
.prose > *:last-child{margin-bottom:0}
.prose p{text-wrap:pretty}
.prose h1,.prose h2,.prose h3,.prose h4{font-family:var(--font-head);font-weight:800;letter-spacing:-0.02em;margin:44px 0 18px;line-height:1.2}
.prose h2{font-size:28px}
.prose h3{font-size:22px}
.prose h4{font-size:18px}
.prose blockquote{margin:0 0 26px;padding:6px 0 6px 26px;border-left:3px solid var(--dark);font-size:24px;line-height:1.45;font-style:italic;color:var(--body);text-wrap:pretty}
.prose blockquote p{margin:0}
.prose ul,.prose ol{padding-left:26px;display:flex;flex-direction:column;gap:8px}
.prose img{max-width:100%;border-radius:18px}
.prose a{text-decoration:underline;text-decoration-color:var(--faint)}
.prose hr{border:0;border-top:1px solid var(--border2)}
.prose table{border-collapse:collapse;width:100%;font-family:var(--font-body);font-size:15px}
.prose th,.prose td{border-bottom:1px solid var(--border2);padding:10px 12px;text-align:left}
.prose code{font-family:var(--font-mono);font-size:.82em;background:var(--card);padding:2px 6px;border-radius:6px}
.prose pre code{background:transparent;padding:0;font-size:14px}
.prose figure.code{margin:0 0 26px;background:var(--card);border-radius:18px;overflow:hidden;border:1px solid var(--border2)}
.code-head{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid var(--border2);font-family:var(--font-body)}
.code-title{font-size:12px;font-weight:700;color:var(--muted)}
.code-copy{border:0;background:var(--bg);border-radius:8px;padding:6px 10px;font-size:11px;font-weight:700;cursor:pointer}
.code-copy:hover{background:var(--hover)}
.prose pre{margin:0;padding:18px 20px;overflow:auto;font-family:var(--font-mono);font-size:14px;line-height:1.65;font-variant-ligatures:none;tab-size:4}
.prose pre.c-chroma{background:transparent}
.prose figcaption{font-family:var(--font-body);font-size:13px;color:var(--muted);text-align:center}
.prose figure.img{margin:0 0 26px}
.prose figure.img img{display:block;width:100%}
.prose figure.img figcaption{margin-top:10px}
figure.embed{margin:0 0 26px;background:var(--card);border-radius:18px;overflow:hidden;border:1px solid var(--border2)}
.embed-load{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/9;border:0;padding:0;background:var(--dark);color:var(--on-dark);cursor:pointer;overflow:hidden}
.embed-load img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;opacity:.85;transition:transform .3s,opacity .3s}
.embed-load:hover img{transform:scale(1.03);opacity:1}
.embed-play{position:relative;font-family:var(--font-body);font-weight:800;font-size:14px;letter-spacing:.02em;background:var(--card);color:var(--fg);padding:12px 22px 12px 18px;border-radius:999px;display:inline-flex;align-items:center;gap:10px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.embed-play::before{content:"";width:0;height:0;border-left:11px solid currentColor;border-top:7px solid transparent;border-bottom:7px solid transparent}
figure.embed-spotify .embed-load,figure.embed-soundcloud .embed-load,figure.embed-x .embed-load{aspect-ratio:auto;min-height:152px}
figure.embed-codepen .embed-load{aspect-ratio:auto;min-height:300px}
figure.embed-x .embed-play::before,figure.embed-codepen .embed-play::before{display:none}
figure.embed iframe{display:block;width:100%;aspect-ratio:16/9;border:0}
figure.embed-spotify iframe,figure.embed-soundcloud iframe{aspect-ratio:auto;height:166px}
figure.embed-codepen iframe{aspect-ratio:auto;height:400px}
figure.embed .twitter-tweet{margin:12px auto}
figure.embed figcaption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 16px;text-align:left}
figure.embed figcaption a{text-decoration:none;font-weight:700;color:var(--fg)}
figure.embed.is-loaded .embed-note{display:none}
.prose blockquote.callout{font-style:normal;font-size:18px;line-height:1.6;border-left:0;background:var(--card);border-radius:18px;padding:18px 22px;border:1px solid var(--border2);font-family:var(--font-body);color:var(--fg)}
.prose blockquote.callout p+p{margin-top:8px}
.prose .callout-title{font-weight:800;font-size:12px;letter-spacing:.1em;text-transform:uppercase;margin:0 0 6px;display:flex;align-items:center;gap:8px}
.prose .callout-title::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.prose blockquote.callout-note{border-color:color-mix(in srgb,#2f5fb3 30%,var(--card))}.prose blockquote.callout-note .callout-title{color:#3f6fc9}
.prose blockquote.callout-tip{border-color:color-mix(in srgb,var(--green) 35%,var(--card))}.prose blockquote.callout-tip .callout-title{color:var(--green)}
.prose blockquote.callout-important{border-color:color-mix(in srgb,#7a55c5 30%,var(--card))}.prose blockquote.callout-important .callout-title{color:#7a55c5}
.prose blockquote.callout-warning{border-color:color-mix(in srgb,#c58a17 35%,var(--card))}.prose blockquote.callout-warning .callout-title{color:#b07a12}
.prose blockquote.callout-caution{border-color:color-mix(in srgb,var(--red) 35%,var(--card))}.prose blockquote.callout-caution .callout-title{color:var(--red)}
.prose nav.toc{font-family:var(--font-body);background:var(--card);border-radius:18px;border:1px solid var(--border2);padding:18px 22px;font-size:15px}
.prose .toc-title{font-weight:800;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.prose nav.toc ol{margin:0;padding-left:22px;gap:6px}
.prose nav.toc a{text-decoration:none;font-weight:600}
.prose nav.toc a:hover{text-decoration:underline}
.post-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--border2);padding-top:22px;font-size:13px;color:var(--muted);font-weight:600}
.author-card{background:var(--card);border-radius:24px;padding:26px 28px;display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.author-card-body{flex:1 1 240px;min-width:0}
.author-card-name{font-size:18px;font-weight:800;margin-top:4px}
.author-card p{margin:6px 0 0;font-size:14px;line-height:1.55;color:var(--body);text-wrap:pretty}
.btn-sq{background:var(--dark);color:var(--on-dark);border-radius:14px;padding:12px 16px;font-size:13px;font-weight:700}
.btn-sq:hover{background:var(--dark3);color:var(--on-dark)}
.more-wrap{max-width:760px;width:100%;margin:0 auto;padding:24px 24px 40px;display:flex;flex-direction:column;gap:16px}
.more-wrap h3{font-weight:800;font-size:20px;margin:0}
.more-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.mcard{background:var(--card);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:10px;color:var(--fg)}
.mcard:hover{background:var(--hover);color:var(--fg)}
.mcard-meta{font-size:12px;color:var(--faint);font-weight:600}
.mcard-title{font-size:17px;font-weight:700;line-height:1.35;text-wrap:pretty}

/* archive: the same header, card and item components as the home page */
.name-link:hover h1{color:var(--fg)}
.arch{display:flex;flex-direction:column;gap:18px}
.arch-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.arch-head .kicker{margin-bottom:8px}
.arch-rows{display:flex;flex-direction:column}
.arch-rows .row{padding:20px 0}
.arch-rows .row:first-child{padding-top:4px}
.arch-rows .row:last-child{border-bottom:0;padding-bottom:4px}
.arch-rows .job:first-child,.arch-rows .talk:first-child{border-top:0;padding-top:4px}
/* cards inside a white card sit on the page tint, like the featured links panel */
.pcard-flat{background:var(--bg)}
.pager{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid var(--border);padding-top:22px}
.pager-info{font-size:13px;color:var(--faint);font-weight:600;white-space:nowrap}
.pager-nav{display:flex;align-items:center;gap:6px}
.pg{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;min-width:40px;height:40px;font-size:14px;font-weight:700;background:var(--bg);color:var(--fg);padding:0 8px}
.pg:hover{background:var(--hover);color:var(--fg)}
.pg.active{background:var(--dark);color:var(--on-dark)}
.pg.disabled{color:var(--faint);pointer-events:none}

/* misc */
.notfound{max-width:560px;margin:12vh auto 0;padding:56px 48px 48px;background:var(--card);border-radius:28px;text-align:center;box-shadow:0 1px 0 rgba(0,0,0,.03),0 24px 60px -30px rgba(0,0,0,.18)}
.notfound h1{font-size:32px;font-weight:800;letter-spacing:-0.02em;margin:0 0 12px;line-height:1.15}
.notfound p{color:var(--muted);margin:0 0 28px;font-size:15px;line-height:1.6}
.nf-code{color:var(--faint);margin-bottom:12px}
.nf-brand{display:inline-flex;margin-bottom:28px}
.nf-brand img{display:block;height:28px;width:auto}
.nf-addr{display:inline-block;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;font-weight:600;padding:8px 14px;border-radius:999px;background:var(--bg);color:var(--fg);margin:0 0 18px;max-width:100%;overflow-wrap:anywhere}
.nf-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.nf-foot{text-align:center;color:var(--muted);font-size:12px;margin:22px auto 48px}
.nf-foot a{color:var(--fg);font-weight:700}
@media (max-width:600px){.notfound{margin:6vh 16px 0;padding:40px 24px 32px}.notfound h1{font-size:26px}}
/* ---- phones ---- */
@media (max-width:600px){
  .wrap{padding:14px;gap:14px}
  .card{border-radius:22px}
  .hdr{padding:22px 20px;gap:18px}
  .hdr-cover{margin:0 -20px;height:150px;border-radius:22px 22px 0 0}
  .has-cover .hdr-top{margin-top:-36px}
  .has-cover .avatar{box-shadow:0 0 0 4px var(--card)}
  .sec{padding:22px 20px;border-radius:22px}
  .list{padding:6px 20px}
  .avatar{width:76px;height:76px;flex:0 0 76px;font-size:24px}
  .hdr h1{font-size:26px}
  .bio{font-size:15px}
  .hdr-nav{padding-top:14px}
  .tabs{gap:4px}
  .pill{padding:8px 12px;font-size:12px}
  .featured{padding:22px 20px;border-radius:22px}
  .featured h2{font-size:22px}
  .row{grid-template-columns:minmax(0,1fr);gap:6px;padding:18px 0}
  .row-title{font-size:17px}
  .row-meta{text-align:left;white-space:normal}
  .job{grid-template-columns:1fr;gap:4px}
  .job-period{padding-top:0}
  .sec h2,.sec-title-row h2{font-size:20px}
  .update{padding:16px 18px;border-radius:18px}
  .update p{font-size:15px}
  .link{padding:14px 16px;border-radius:18px}
  .link-ic{width:40px;height:40px;flex-basis:40px;border-radius:12px}
  .link-featured{padding:18px 18px}
  .link-featured .link-ic{width:48px;height:48px;flex-basis:48px}
  .grid2,.quotes{grid-template-columns:minmax(0,1fr)}
  .cards,.awards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .empty{padding:40px 20px;border-radius:22px}
  .foot{padding:4px 8px 12px}
  /* post */
  .topbar-inner{padding:10px 14px}
  .article{padding:24px 16px 20px;gap:22px}
  .post-head{gap:16px}
  .lede{font-size:18px}
  .prose{font-size:18px;line-height:1.65}
  .prose > *{margin-bottom:22px}
  .prose h2{font-size:24px}
  .prose h3{font-size:20px}
  .prose h1,.prose h2,.prose h3,.prose h4{margin:34px 0 14px}
  .prose blockquote{font-size:20px;padding-left:18px}
  .prose pre{padding:14px 16px;font-size:13px}
  .prose img{border-radius:14px}
  .cover-hero{border-radius:18px;max-height:320px}
  .author-card{padding:20px;border-radius:20px}
  .more-wrap{padding:16px 16px 32px}
  .more-grid{grid-template-columns:minmax(0,1fr)}
  /* archive */
  .arch-head{align-items:flex-start}
  .pager{justify-content:center}
  .pager-info{width:100%;text-align:center}
}

/* ---- leave a testimonial ---- */
.tm-wrap{max-width:640px;gap:14px}
.tm-top{display:flex;align-items:center;min-height:32px}
.tm-card{padding:28px}
.tm-person{display:flex;gap:18px;align-items:center}
.tm-person-body{min-width:0}
.tm-name{margin:2px 0 4px;font-size:26px;font-weight:800;letter-spacing:-0.02em;line-height:1.15}
.tm-bio{margin:18px 0 0}
.tm-prompt{margin:18px 0 0;padding:16px 18px;background:var(--bg);border-radius:16px;font-size:15px;line-height:1.55;font-weight:500;color:var(--body);white-space:pre-line}
.tm-form{display:flex;flex-direction:column;gap:16px}
.tm-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.tm-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:var(--muted);min-width:0}
.tm-field .opt{font-weight:600;color:var(--faint);margin-left:4px}
.tm-field input,.tm-field textarea{border:1px solid var(--border2);background:var(--bg);border-radius:12px;padding:12px 14px;font-size:15px;font-family:inherit;color:var(--fg);outline:none;font-weight:500;width:100%}
.tm-field input:focus,.tm-field textarea:focus{border-color:var(--fg);background:var(--card)}
.tm-field textarea{resize:vertical;min-height:140px;line-height:1.5}
.tm-help{font-weight:500;color:var(--faint);font-size:12px}
.tm-count{text-align:right}
.tm-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:var(--body);font-weight:500}
.tm-consent input{margin:3px 0 0;width:16px;height:16px;flex:0 0 16px;accent-color:var(--fg)}
.tm-submit{align-self:flex-start;border-radius:14px;padding:13px 22px;font-size:14px}
.tm-alert{background:color-mix(in srgb,var(--red) 14%,var(--card));color:var(--red);border-radius:12px;padding:12px 14px;font-size:13px;font-weight:600}
.tm-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.tm-done{text-align:center;padding:40px 28px}
.tm-check{width:48px;height:48px;border-radius:50%;background:var(--dark);color:var(--on-dark);font-size:22px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;margin-bottom:14px}
.tm-done h2{margin:0 0 8px;font-size:24px;font-weight:800;letter-spacing:-0.02em}
.tm-done p{margin:0 0 22px;color:var(--muted);line-height:1.55}
@media (max-width:600px){.tm-grid{grid-template-columns:1fr}.tm-card{padding:22px 18px}.tm-name{font-size:22px}.tm-submit{align-self:stretch}}

/* ---- share sheet ---- */
.sheet{border:0;padding:0;background:var(--card);color:var(--fg);border-radius:24px;max-width:min(520px,calc(100vw - 32px));width:100%;box-shadow:0 30px 80px -30px rgba(0,0,0,.45)}
.sheet::backdrop{background:rgba(20,20,20,.45);backdrop-filter:blur(2px)}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 0}
.sheet-head h2{margin:0;font-size:18px;font-weight:800;letter-spacing:-0.01em;font-family:var(--font-head)}
.sheet-x{border:0;background:var(--bg);color:var(--muted);width:32px;height:32px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer}
.sheet-x:hover{color:var(--fg)}
.sheet-body{display:flex;gap:20px;padding:18px 22px 22px;align-items:flex-start}
.sheet-qr{flex:0 0 160px;display:block;background:#fff;border-radius:16px;padding:10px;border:1px solid var(--border)}
.sheet-qr img{display:block;width:140px;height:140px}
.sheet-side{min-width:0;flex:1;display:flex;flex-direction:column;gap:10px}
.sheet-url{font-weight:700;font-size:14px;word-break:break-all;background:var(--bg);border-radius:12px;padding:10px 12px}
.sheet-hint{margin:0;font-size:13px;color:var(--muted);line-height:1.5}
.sheet-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
@media (max-width:520px){.sheet-body{flex-direction:column;align-items:center;text-align:center}.sheet-actions{justify-content:center}.sheet-side{width:100%}}

/* ---- journeys ---- */
.jcard{display:flex;align-items:center;gap:16px;background:var(--card);border-radius:22px;padding:18px 20px;transition:transform .15s}
.jcard:hover{transform:translateY(-2px);color:var(--fg)}
.jcard-cover{width:64px;height:64px;flex:0 0 64px;border-radius:16px;overflow:hidden;background:var(--bg)}
.jcard-cover img{width:100%;height:100%;object-fit:cover;display:block}
.jcard-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
.jcard-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.jcard-span{font-size:12px;font-weight:700;color:var(--faint)}
.jcard-title{font-size:17px;font-weight:800;letter-spacing:-0.01em;line-height:1.25;display:flex;align-items:center;gap:8px}
.jcard-tag{font-size:14px;color:var(--muted);line-height:1.45}
.jcard-meta{font-size:12px;color:var(--faint);font-weight:600;margin-top:4px}
.jemoji{font-size:1.05em;line-height:1}
.jstatus{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);background:var(--bg);padding:5px 9px;border-radius:999px}
.jstatus .jdot{width:7px;height:7px;border-radius:50%;background:var(--faint2);display:inline-block}
.jstatus-active .jdot{background:var(--green);box-shadow:0 0 0 3px rgba(47,158,115,.18)}
.jstatus-paused .jdot{background:#d1a13a}
.jstatus-completed .jdot{background:var(--dark)}
.jstatus-ended .jdot{background:var(--faint2)}
.tag.jstatus{background:var(--card)}

.jhead{padding-bottom:8px}
.jhead h1{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.jstats{display:flex;gap:10px;flex-wrap:wrap}
.jstat{flex:1 1 130px;background:var(--card);border-radius:18px;padding:16px 18px;display:flex;flex-direction:column;gap:2px}
.jstat-n{font-size:22px;font-weight:800;letter-spacing:-0.02em}
.jstat-l{font-size:12px;color:var(--faint);font-weight:600}
.jintro{font-size:19px;color:var(--body)}

.timeline{max-width:720px;width:100%;margin:0 auto;padding:8px 24px 16px;display:flex;flex-direction:column;position:relative}
.timeline::before{content:"";position:absolute;left:calc(24px + 11px);top:24px;bottom:24px;width:2px;background:var(--border2)}
.tl-node{display:grid;grid-template-columns:24px minmax(0,1fr);gap:18px;padding:10px 0;position:relative}
.tl-dot{width:14px;height:14px;border-radius:50%;background:var(--card);border:3px solid var(--dark);margin:20px 0 0 5px;position:relative;z-index:1;box-shadow:0 0 0 4px var(--bg)}
.tl-milestone .tl-dot{background:var(--dark);border-color:var(--dark)}
.tl-win .tl-dot{background:var(--green);border-color:var(--green)}
.tl-setback .tl-dot{background:var(--card);border-color:var(--red)}
.tl-lesson .tl-dot{background:var(--card);border-color:#4b6fb8}
.tl-note .tl-dot{background:var(--card);border-color:var(--faint2)}
.tl-dot-start,.tl-dot-end{background:var(--dark);border-color:var(--dark);width:10px;height:10px;margin-left:7px;margin-top:22px}
.tl-end-active .tl-dot-end{background:var(--green);border-color:var(--green)}
.tl-end-paused .tl-dot-end{background:#d1a13a;border-color:#d1a13a}
.tl-end-ended .tl-dot-end{background:var(--faint2);border-color:var(--faint2)}
.tl-card{background:var(--card);border-radius:22px;padding:20px 24px;display:flex;flex-direction:column;gap:10px;min-width:0}
.tl-marker{background:transparent;padding:14px 4px;gap:2px}
.tl-marker-title{font-size:15px;font-weight:800;letter-spacing:-0.01em;display:flex;align-items:center;gap:8px}
.tl-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;font-weight:600;color:var(--faint)}
.tl-date{font-size:12px;font-weight:700;color:var(--muted);letter-spacing:.02em}
.tl-kind{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:var(--bg);color:var(--muted)}
.tl-milestone .tl-kind{background:var(--dark);color:var(--on-dark)}
.tl-win .tl-kind{background:color-mix(in srgb,var(--green) 16%,var(--card));color:var(--green)}
.tl-setback .tl-kind{background:color-mix(in srgb,var(--red) 14%,var(--card));color:var(--red)}
.tl-lesson .tl-kind{background:color-mix(in srgb,#4b6fb8 14%,var(--card));color:#4b6fb8}
.tl-day{margin-left:auto;color:var(--faint2)}
.tl-title{margin:0;font-size:20px;font-weight:800;letter-spacing:-0.015em;line-height:1.25}
.tl-body{font-size:17px;line-height:1.65}
.tl-body>:first-child{margin-top:0}
.tl-body>:last-child{margin-bottom:0}
.tl-empty{color:var(--muted);font-size:15px;font-weight:500}
.tl-year{display:flex;align-items:center;gap:12px;padding:14px 0 4px 42px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--faint2)}
.tl-year::after{content:"";flex:1;height:1px;background:var(--border2)}
.jpulse{width:8px;height:8px;border-radius:50%;background:var(--green);display:inline-block;animation:jpulse 1.8s ease-out infinite}
@keyframes jpulse{0%{box-shadow:0 0 0 0 rgba(47,158,115,.5)}100%{box-shadow:0 0 0 10px rgba(47,158,115,0)}}
@media (max-width:600px){
  .timeline{padding-left:16px;padding-right:16px}
  .timeline::before{left:calc(16px + 11px)}
  .tl-node{gap:12px}
  .tl-card{padding:16px 18px}
  .tl-title{font-size:18px}
  .tl-body{font-size:16px}
  .jcard{padding:16px}
  .jcard-cover{width:52px;height:52px;flex-basis:52px}
}
.update-cta{display:flex;padding-top:2px}
.update-cta .btn{padding:10px 16px}

/* ---- spotlights ---- */
.spots{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.spots-one{grid-template-columns:1fr}
.spot{display:flex;flex-direction:column;background:var(--dark);color:var(--on-dark);border-radius:22px;overflow:hidden;transition:transform .15s,background .15s}
.spot:hover{transform:translateY(-2px);background:var(--dark2);color:var(--on-dark)}
.spots-one .spot.has-img{flex-direction:row;align-items:stretch}
.spot-img{display:block;aspect-ratio:16/9;background:var(--dark3);overflow:hidden}
.spots-one .spot-img{flex:0 0 42%;aspect-ratio:auto;min-height:180px}
.spot-img img{width:100%;height:100%;object-fit:cover;display:block}
.spot-body{display:flex;flex-direction:column;gap:6px;padding:20px 22px 22px;min-width:0;flex:1}
.spot-kicker{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--on-dark-muted)}
.spot-title{font-size:18px;font-weight:800;letter-spacing:-0.015em;line-height:1.2}
.spots-one .spot-title{font-size:22px}
.spot-desc{font-size:14px;line-height:1.5;color:var(--on-dark-soft);text-wrap:pretty}
.spot-host{margin-top:auto;padding-top:8px;font-size:12px;font-weight:700;color:var(--on-dark-muted)}
.spot:not(.has-img) .spot-body{justify-content:center;min-height:150px;padding:26px 24px}
.spot:not(.has-img) .spot-host{margin-top:4px}
@media (max-width:600px){.spots-one .spot.has-img{flex-direction:column}.spots-one .spot-img{flex-basis:auto;aspect-ratio:16/9;min-height:0}.spots-one .spot-title{font-size:19px}}

/* Subscribe box + flow pages */
.sub-box{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start;margin-top:18px;padding:24px 28px}
.sub-box h3{margin:6px 0 8px;font-size:22px;letter-spacing:-.02em;font-weight:800}
.sub-box p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.sub-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.sub-form input[type=email]{border:1px solid var(--border2);background:var(--bg);border-radius:12px;padding:12px 14px;font:inherit;font-size:14px;outline:none;min-width:0}
.sub-form input[type=email]:focus{border-color:var(--fg)}
.sub-form .sub-note{grid-column:1/-1;font-size:12px;color:var(--muted);margin:0}
.sub-form.is-done input,.sub-form.is-done>button,.sub-form.is-done .sub-note{display:none}
.sub-form .sub-note.is-error{color:var(--danger,#b42318);font-weight:600}
.sub-form input[aria-invalid=true]{border-color:var(--danger,#b42318)}
.sub-form.is-busy button[type=submit]{opacity:.7}
.sub-done{grid-column:1/-1;display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border-radius:14px;background:var(--bg);animation:sub-in .25s ease-out}
.sub-done-icon{flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--fg);color:var(--card);display:grid;place-items:center}
.sub-done-body{min-width:0;display:flex;flex-direction:column;gap:4px}
.sub-done-body b{font-size:15px;font-weight:800;letter-spacing:-.01em;color:var(--fg)}
.sub-done-body p{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.sub-done-body p strong{color:var(--fg);font-weight:700;overflow-wrap:anywhere}
.sub-done-foot{font-size:12px!important}
.sub-resend{border:0;padding:0;background:none;font:inherit;font-weight:700;color:var(--fg);text-decoration:underline;text-decoration-color:var(--border2);text-underline-offset:3px;cursor:pointer}
.sub-resend:hover{text-decoration-color:var(--fg)}
.sub-resend:disabled{cursor:default;text-decoration:none;color:var(--muted)}
@keyframes sub-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.sub-form .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.sub-more{grid-column:1/-1;min-width:0}
.sub-more summary{list-style:none;display:block;cursor:pointer;font-size:12px;line-height:1.55;color:var(--muted)}
.sub-more summary::-webkit-details-marker{display:none}
.sub-more summary:focus-visible{outline:2px solid var(--fg);outline-offset:3px;border-radius:6px}
.sub-more-text{min-width:0}
.sub-more-btn{margin-left:4px;font-weight:700;color:var(--fg);text-decoration:underline;text-decoration-color:var(--border2);text-underline-offset:3px;white-space:nowrap}
.sub-more[open] .sub-more-btn{text-decoration:none}
.sub-more[open] .sub-more-btn::after{content:" ↑"}
.sub-more summary:hover .sub-more-btn{text-decoration-color:var(--fg)}
.sub-opts{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;margin-top:10px}
.sub-opt{position:relative;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:var(--bg);border:1px solid transparent;cursor:pointer;user-select:none;transition:border-color .12s,background .12s}
.sub-opt:hover{border-color:var(--border2)}
.sub-opt input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.sub-opt-box{flex:0 0 auto;width:18px;height:18px;border-radius:6px;border:1.5px solid var(--border2);background:var(--card);display:grid;place-items:center;transition:background .12s,border-color .12s}
.sub-opt-box::after{content:"";width:9px;height:5px;border:2px solid var(--card);border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px);opacity:0}
.sub-opt input:checked~.sub-opt-box{background:var(--fg);border-color:var(--fg)}
.sub-opt input:checked~.sub-opt-box::after{opacity:1}
.sub-opt input:focus-visible~.sub-opt-box{outline:2px solid var(--fg);outline-offset:2px}
.sub-opt-text{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.sub-opt-text b{font-size:13px;font-weight:700;color:var(--fg)}
.sub-opt-text small{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sub-form.is-done .sub-more{display:none}
.sub-chosen{display:flex;flex-wrap:wrap;gap:6px}
.sub-pill{font-size:12px;font-weight:700;color:var(--fg);background:var(--bg);border-radius:999px;padding:5px 11px}
.sub-small{font-size:13px;color:var(--muted)}.sub-small a{color:var(--fg);font-weight:600}
.sub-error{color:var(--danger,#b42318);font-weight:600;font-size:14px}
.sub-prefs{display:flex;flex-direction:column;gap:8px;width:100%;max-width:520px}
.sub-pref{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:14px;background:var(--bg);cursor:pointer}
.sub-pref input{margin-top:3px;width:16px;height:16px;accent-color:var(--fg)}
.sub-pref span{display:flex;flex-direction:column;gap:2px}
.sub-pref b{font-size:14px}.sub-pref small{font-size:12px;color:var(--muted)}
.sub-pref-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;flex-wrap:wrap}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.article .sub-box{background:var(--card)}
.hdr-min{gap:10px}
.sub-page{display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:28px;margin-top:16px}
.sub-page h2{margin:0;font-size:26px;letter-spacing:-.02em}
.sub-page p{margin:0;color:var(--body);font-size:16px;line-height:1.6;max-width:56ch}
.sub-page .btn{margin-top:8px}
@media (max-width:700px){.sub-box{grid-template-columns:1fr;gap:16px;padding:20px 18px}.sub-form{grid-template-columns:1fr}.sub-opt-text small{white-space:normal}.sub-page{padding:22px 18px}.sub-page h2{font-size:22px}}

/* ---- companies ---- */
.org-link{color:inherit;text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:3px}
.org-link:hover{color:var(--fg)}
.award-by .org-link{color:inherit}
.pcard-co{font-size:12px;color:var(--muted);font-weight:600;margin-top:2px}
.cocards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:16px}
.more-wrap .cocards{margin-top:0}
.cocard{display:flex;align-items:center;gap:14px;background:var(--bg);border-radius:20px;padding:14px 16px;color:var(--fg);transition:transform .15s,background .15s;min-width:0}
.cocard:hover{transform:translateY(-2px);background:var(--hover);color:var(--fg)}
.more-wrap .cocard{background:var(--card)}
.cocard-logo{width:48px;height:48px;flex:0 0 48px;border-radius:14px;overflow:hidden;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;color:#1d1d1b}
.cocard-logo img{width:100%;height:100%;object-fit:contain;background:#fff;display:block}
.cocard-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.cocard-top{display:flex;align-items:center;gap:8px;min-width:0}
.cocard-name{font-size:15px;font-weight:800;letter-spacing:-0.01em;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cocard-status{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);background:var(--card);padding:3px 7px;border-radius:999px;flex:0 0 auto}
.cocard-tag{font-size:13px;color:var(--muted);line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cocard-rel{font-size:12px;color:var(--faint);font-weight:600}
.cocard-arrow{color:var(--faint2);font-weight:700;flex:0 0 auto}
.cocard-closed .cocard-logo{filter:grayscale(1);opacity:.75}

.cohead{padding-bottom:8px;gap:24px}
.co-hero{display:flex;gap:24px;align-items:flex-start}
.co-logo{width:112px;height:112px;flex:0 0 112px;border-radius:28px;overflow:hidden;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:44px;color:#1d1d1b;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.co-logo img{width:100%;height:100%;object-fit:contain;background:#fff;display:block}
.co-hero-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:14px}
.co-hero-body h1{font-weight:800;font-size:clamp(30px,4.6vw,46px);line-height:1.08;letter-spacing:-0.025em;margin:0;text-wrap:balance}
.co-hero-body .lede{font-size:19px}
.co-meta{display:flex;flex-wrap:wrap;gap:6px 0;font-size:13px;color:var(--muted);font-weight:600}
.co-meta span+span::before{content:"·";margin:0 8px;color:var(--faint2)}
.co-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:4px}
.co-social{width:38px;height:38px;border-radius:var(--btn-r);background:var(--card);display:inline-flex;align-items:center;justify-content:center;color:var(--fg)}
.co-social:hover{background:var(--hover)}
.co-social svg{width:16px;height:16px}
.co-status{background:var(--card)}
.co-status-acquired{color:#6b4d0b;background:#fbeccf}
.co-status-closed{color:var(--muted)}
.co-about{font-size:19px;color:var(--body)}
.co-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.co-panel{background:var(--card);border-radius:24px;padding:24px 26px;display:flex;flex-direction:column;gap:14px}
.co-h{font-size:18px;font-weight:800;letter-spacing:-0.015em;margin:0}
.co-facts{margin:0;display:flex;flex-direction:column}
.co-fact{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--border)}
.co-fact:first-child{border-top:0;padding-top:0}
.co-fact dt{font-size:12px;font-weight:700;color:var(--faint);letter-spacing:.02em;padding-top:2px}
.co-fact dd{margin:0;font-size:14px;font-weight:600;color:var(--fg);overflow-wrap:anywhere}
.co-fact dd a{color:inherit;text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:3px}
.co-story{background:var(--card);border-radius:28px;padding:28px 32px;display:flex;flex-direction:column;gap:22px}
.co-block{display:flex;flex-direction:column;gap:10px}
.co-people-head{display:flex;flex-direction:column;gap:4px}
.co-people-note{margin:0;font-size:13px;color:var(--muted)}
.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}
.person{display:flex;align-items:flex-start;gap:12px;background:var(--bg);border-radius:18px;padding:12px 14px;color:var(--fg);min-width:0;transition:transform .15s,background .15s}
.person:hover{transform:translateY(-2px);background:var(--hover);color:var(--fg)}
.person-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.person-name{font-size:14.5px;font-weight:800;letter-spacing:-0.01em;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.person-role{font-size:12.5px;color:var(--muted);line-height:1.4}
.person-head{font-size:12px;color:var(--faint);line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.person .cocard-arrow{align-self:center}
.co-rows{display:flex;flex-direction:column}
.co-rows .job:first-child,.co-rows .edu:first-child{border-top:0;padding-top:0}
.co-rows .edu{padding:14px 0 0}
.co-story .cards{margin-top:4px}
@media (max-width:600px){.co-hero{flex-direction:column;gap:18px}.co-logo{width:84px;height:84px;flex-basis:84px;border-radius:22px;font-size:34px}.co-fact{grid-template-columns:1fr;gap:2px}.co-story{padding:22px}.cocards{grid-template-columns:1fr}}
