@import url('/managed-assets/fonts/noto-sans-sc/font.css');
.article-audio { display:flex; align-items:center; gap:14px; width:100%; max-width:600px; box-sizing:border-box; padding:16px; margin:20px 0; border:1px solid var(--line-soft); border-radius:var(--radius-panel); background:var(--surface); color:var(--ink); }
.article-audio audio { display:none; }
.clip-play { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:0; border:0; border-radius:50%; cursor:pointer; color:var(--accent); background:var(--selected); transition:background .18s ease,transform .18s ease; }
.clip-play-icon { width:0; height:0; border-top:6px solid transparent; border-bottom:6px solid transparent; border-left:9px solid currentColor; margin-left:3px; }
.is-playing .clip-play-icon { width:9px; height:12px; border:0; margin:0; background:linear-gradient(to right,currentColor 0 3px,transparent 3px 6px,currentColor 6px); }
.clip-main { flex:1; min-width:0; }
.clip-title { display:block; font-size:14px; font-weight:500; line-height:1.5; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.clip-timeline { display:flex; align-items:center; gap:12px; margin-top:6px; }
.clip-timeline input { appearance:none; -webkit-appearance:none; flex:1; min-width:32px; height:28px; padding:0; margin:0; border:0; border-radius:var(--radius-pill); cursor:pointer; background:linear-gradient(to right,var(--accent) var(--clip-progress,0%),var(--line) var(--clip-progress,0%)) center/100% 4px no-repeat; }
.clip-timeline input::-webkit-slider-thumb { appearance:none; width:10px; height:10px; border:0; border-radius:50%; background:var(--accent); }
.clip-timeline input::-moz-range-thumb { width:10px; height:10px; border:0; border-radius:50%; background:var(--accent); }
.clip-timeline input:disabled { opacity:.5; cursor:default; }
.clip-time { flex:none; font-size:12px; line-height:1.5; font-variant-numeric:tabular-nums; color:var(--muted); }
.clip-error { display:block; font-size:12px; color:var(--muted); }
.clip-error:empty { display:none; }
@media(hover:hover) { .clip-play:hover { background:var(--hover); transform:translateY(-1px); } }
.clip-play:active { transform:scale(.94); }
.article-audio :is(button,input):focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
@media(max-width:480px) { .article-audio { gap:10px; padding:12px; } .clip-timeline { flex-wrap:wrap; gap:8px; } .clip-time { font-size:11px; } }
@media(prefers-reduced-motion:reduce) { .clip-play { transition:none; } }
.legacy-embed { position:relative; width:100%; margin:24px 0; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-panel); background:var(--surface); }
.legacy-embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
#post audio { max-width:100%; }
.demo-tabs [role=tablist] { overflow-x:auto; }
.demo-tabs [role=tab] { flex-shrink:0; }
/* Jopolis design system — authoritative tokens and component geometry.
   Layout/behavior: codex.css. Change site-wide appearance here. */
:root {
  color-scheme:light;
  --bg:#f8fafd; --card:#ffffff; --surface:#edf2fa;
  --ink:#1f1f1f; --ink-soft:#444746; --muted:#5f6368;
  --line:#c4c7c5; --line-soft:#e1e3e6;
  --accent:#0b57d0; --on-accent:#ffffff;
  --hover:#e3edfc; --selected:#d3e3fd;
  --success:#27834e; --warning:#a46c12; --danger:#cf4545;
  --selection-bg:#d3e3fd; --selection-text:#062e6f;
  --radius-xs:6px; --radius-sm:12px; --radius-md:16px;
  --radius-panel:20px; --radius-card:24px;
  --radius-control:var(--radius-sm); --radius-pill:999px; --radius-round:50%;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:20px; --space-6:24px; --space-8:32px;
  --duration-fast:130ms; --duration-control:180ms; --duration-panel:240ms;
  --ease-standard:cubic-bezier(.2,0,0,1);
  --blur-panel:18px; --blur-navigation:26px;
  --shadow-panel:0 10px 30px #00000020;
  --focus-ring:3px solid var(--accent);
}
[data-theme="dark"] {
  color-scheme:dark;
  --bg:#1b1c1f; --card:#23262b; --surface:#2b3038;
  --ink:#e3e3e3; --ink-soft:#c4c7c5; --muted:#aeb3bb;
  --line:#5e626b; --line-soft:#3d424b;
  --accent:#a8c7fa; --on-accent:#062e6f;
  --hover:#303e53; --selected:#304b75;
  --success:#75d99a; --warning:#edbd68; --danger:#ff9696;
  --selection-bg:#304b75; --selection-text:#e3edff;
  --shadow-panel:0 10px 30px #00000040;
}
::selection { background:var(--selection-bg); color:var(--selection-text); }
[data-theme="dark"] ::selection { background:var(--selection-bg); color:var(--selection-text); }
.work-entry,.work-grid-item,.blog-list,.hero-portrait,.post-split-media { border-radius:var(--radius-card); }
.image-viewer img { border-radius:0; }
.article-outline,.music-dock,.music-inline,.demo-tabs,.demo-fold,.demo-note,.article-table { border-radius:var(--radius-panel); }
.music-grip { border-radius:var(--radius-panel) var(--radius-panel) 0 0; }
.music-body { border-radius:0 0 var(--radius-panel) var(--radius-panel); }
.work-entry-thumb,.blog-row,.music-list,.code-shell>figure.highlight,.post-content .code-shell>pre { border-radius:var(--radius-md); }
.tag-btn,.article-outline a,.copy-code,.outline-toggle,.outline-toggle[aria-expanded=true],.outline-toggle:hover,.work-entry-tag,.inline-cover { border-radius:var(--radius-control); }
.hero-link,.section-more,.back-link,.header .menu-item a { border-radius:var(--radius-pill); }
.theme-toggle,.footer-ic,.music-launcher { border-radius:var(--radius-round); }
.trial-badge,.footer-ic-tip,.copy-bubble,.post-content p code,.post-content li code { border-radius:var(--radius-xs); }
.demo-note { border-left-color:var(--accent); --note-color:var(--accent); }
.demo-note.success,[data-theme=dark] .demo-note.success { border-left-color:var(--success); --note-color:var(--success); }
.demo-note.warning,[data-theme=dark] .demo-note.warning { border-left-color:var(--warning); --note-color:var(--warning); }
.demo-note.danger,[data-theme=dark] .demo-note.danger { border-left-color:var(--danger); --note-color:var(--danger); }
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible { outline:var(--focus-ring); outline-offset:3px; }
@media(prefers-reduced-motion:no-preference) {
 .hero-link,.tag-btn,.section-more,.footer-ic,.outline-toggle,.music-call,.copy-code {
  transition:background-color var(--duration-control) var(--ease-standard),color var(--duration-control) var(--ease-standard),box-shadow var(--duration-control) var(--ease-standard);
 }
 .copy-code svg { transition:transform var(--duration-fast) var(--ease-standard),opacity var(--duration-fast) ease; }
}
@media(max-width:688px) {
 .hero-portrait { border-radius:var(--radius-panel); }
 .header .site-nav { border-radius:0 0 var(--radius-md) var(--radius-md); }
 .header .site-nav .menu-item a { border-radius:var(--radius-control); }
}
/* Desktop navigation material follows the same floating-surface contract. */
@media(min-width:689px) {
 .header { background:var(--bg); background:color-mix(in srgb,var(--bg) 70%,transparent); backdrop-filter:blur(20px) saturate(145%); -webkit-backdrop-filter:blur(20px) saturate(145%); border-bottom:1px solid color-mix(in srgb,var(--line) 30%,transparent); box-shadow:inset 0 -1px 0 #ffffff08; }
 .header .menu-item a { padding:10px 14px; }
}
.page-eyebrow { color:var(--accent); font-size:11px; letter-spacing:.12em; margin:0 0 12px; }
.album-section { margin:48px 0 64px; }
.album-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.album-heading h2,.friend-about h2 { color:var(--ink); font-size:22px; margin:0 0 8px; }
.album-heading p,.friend-about p { color:var(--muted); font-size:14px; margin:0; }
.content-chip { padding:8px 12px; border-radius:var(--radius-pill); background:var(--surface); color:var(--muted); font-size:12px; white-space:nowrap; }
.album-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.album-photo { margin:0; background:var(--surface); border-radius:var(--radius-card); overflow:hidden; }
.album-image { aspect-ratio:4/5; overflow:hidden; }
.album-image img { width:100%; height:100%; object-fit:cover; }
.album-photo figcaption { padding:16px 18px; color:var(--ink-soft); font-size:13px; }
.friends-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:40px 0; }
.friend-card { display:flex; align-items:flex-start; gap:16px; padding:24px; background:var(--surface); border-radius:var(--radius-card); color:var(--ink); min-width:0; }
.friend-card>img,.friend-avatar { width:64px; height:64px; border-radius:var(--radius-control); object-fit:cover; flex:0 0 64px; }
.friend-avatar { display:grid; place-items:center; color:var(--accent); background:var(--selected); font-size:26px; }
.friend-card>div { flex:1; min-width:0; }
.friend-card h2 { font-size:16px; line-height:1.35; margin:0 0 8px; }
.friend-card p { color:var(--muted); font-size:13px; line-height:1.6; margin:0; white-space:pre-line; }
.friend-card:hover { text-decoration:none; background:var(--hover); }
.friends-empty { margin:40px 0; padding:64px 24px; background:var(--surface); border-radius:var(--radius-card); text-align:center; }
.empty-symbol { display:inline-grid; place-items:center; width:56px; height:56px; background:var(--selected); color:var(--accent); border-radius:var(--radius-panel); font-size:28px; }
.friends-empty h2 { font-size:24px; color:var(--ink); }
.friends-empty p { color:var(--muted); margin-bottom:24px; }
.friend-about { padding:24px 0; }
.friend-about .hero-link { margin-top:20px; }
@media(max-width:1000px) { .album-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .friends-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:688px) { .album-grid { gap:12px; } .album-heading { flex-wrap:wrap; gap:12px; } .album-photo figcaption { padding:12px; font-size:12px; } .friends-grid { grid-template-columns:1fr; } .friends-empty { padding:40px 20px; } }
/* Album and friend interactions use the shared timing and radius tokens. */
.friend-card,.album-image .image-zoom { position:relative; overflow:hidden; isolation:isolate; }
@media(prefers-reduced-motion:no-preference) {
 .album-photo,.friend-card { transition:opacity .4s var(--ease-standard),transform .4s var(--ease-standard),box-shadow var(--duration-control) var(--ease-standard),background-color var(--duration-control) ease; }
 .album-image img { transition:transform var(--duration-panel) var(--ease-standard); }
 .album-photo:nth-child(4n+2),.friend-card:nth-child(3n+2) { transition-delay:40ms; }
 .album-photo:nth-child(4n+3),.friend-card:nth-child(3n+3) { transition-delay:80ms; }
 .album-photo:nth-child(4n+4) { transition-delay:120ms; }
 @media(hover:hover) {
  .album-photo.has-entered:hover,.friend-card.has-entered:hover { transform:translateY(-3px); box-shadow:var(--shadow-panel); }
  .album-photo:hover .album-image img { transform:scale(1.035); }
 }
}
@media(hover:hover) { .friend-card:hover { color:var(--accent); } }
/* Filled primary actions: visible hover lift, pressed compression and bright touch wave. */
.hero-link.hero-link-primary,.post-content a.hero-link.hero-link-primary { position:relative; overflow:hidden; isolation:isolate; transition:transform var(--duration-control) var(--ease-standard),background-color var(--duration-control) ease,box-shadow var(--duration-control) ease; }
.hero-link-primary .button-ripple { background:#fff; animation:primary-wave .6s ease-out; }
@keyframes primary-wave { 0%{opacity:.45;transform:translate(-50%,-50%) scale(0)} 65%{opacity:.25} 100%{opacity:0;transform:translate(-50%,-50%) scale(1)} }
@media(hover:hover) {
 .hero-link.hero-link-primary:hover,.post-content a.hero-link.hero-link-primary:hover { background:color-mix(in srgb,var(--accent) 84%,var(--ink)); color:var(--on-accent); transform:translateY(-2px); box-shadow:0 5px 14px color-mix(in srgb,var(--accent) 28%,transparent); }
}
.hero-link.hero-link-primary:active,.post-content a.hero-link.hero-link-primary:active { transform:translateY(1px) scale(.96); background:color-mix(in srgb,var(--accent) 76%,var(--ink)); box-shadow:0 1px 4px color-mix(in srgb,var(--accent) 22%,transparent); }
.friend-card>span:last-child:not(.friend-avatar) { margin-top:2px; color:var(--accent); }
@media(prefers-reduced-motion:reduce) { .hero-link.hero-link-primary,.post-content a.hero-link.hero-link-primary { transition:none; } .hero-link.hero-link-primary:hover,.hero-link.hero-link-primary:active,.post-content a.hero-link.hero-link-primary:hover,.post-content a.hero-link.hero-link-primary:active { transform:none; } .hero-link-primary .button-ripple { animation:none; } }

:root { --shadow-panel:0 10px 30px color-mix(in srgb,var(--accent) 14%,transparent); }
[data-theme=dark] { --shadow-panel:0 10px 30px color-mix(in srgb,var(--accent) 12%,transparent); }
.music-dock,.music-list,.article-outline,.friends-empty { box-shadow:var(--shadow-panel); }
.hero-link:not(.hero-link-primary) { transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease; }
@media(hover:hover){.hero-link:not(.hero-link-primary):hover,.post-content a.hero-link:not(.hero-link-primary):hover{background:var(--hover);transform:translateY(-2px);box-shadow:0 5px 14px color-mix(in srgb,var(--accent) 18%,transparent);}}
.hero-link:not(.hero-link-primary):active,.post-content a.hero-link:not(.hero-link-primary):active{transform:scale(.96);background:var(--selected);}
.home-extras{display:grid;grid-template-columns:1fr 1fr;gap:32px;}
.home-extras .section-head{margin-bottom:20px;}.home-extras .section-more{margin-top:0;}
.home-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.home-album-grid a{border-radius:var(--radius-panel);overflow:hidden;aspect-ratio:1;display:block;background:var(--surface);}
.home-album-grid img{width:100%;height:100%;object-fit:cover;transition:transform .24s ease;}
.home-album-grid a:hover img{transform:scale(1.04);}.home-friends{display:grid;gap:12px;}
@media(max-width:899px){.home-extras{grid-template-columns:1fr;gap:40px;}}
@media(prefers-reduced-motion:reduce){.hero-link:not(.hero-link-primary){transition:none;transform:none!important;}}

.work-entry,.work-grid-item,.friend-card,.album-photo,.outline-toggle,.music-launcher { --component-shadow:0 8px 24px color-mix(in srgb,var(--accent) 16%,transparent); }
@media(hover:hover){.work-entry:hover,.work-grid-item:hover,.friend-card:hover,.album-photo:hover { box-shadow:var(--component-shadow); }}
.music-launcher,.outline-toggle { box-shadow:0 3px 12px color-mix(in srgb,var(--accent) 12%,transparent); }
/* Secondary actions stay clean: state tint instead of a surrounding glow. */
@media(hover:hover) {
 .hero-link:not(.hero-link-primary):hover,.post-content a.hero-link:not(.hero-link-primary):hover { box-shadow:none; background:var(--hover); border-color:var(--accent); }
}
.hero-link:not(.hero-link-primary):active,.post-content a.hero-link:not(.hero-link-primary):active { box-shadow:none; background:var(--selected); }
/* Fixed status labels; the light is an extra cue, never the only status signal. */
.hero-badge { --status-light:var(--accent); }
.hero-badge[data-status=seeking] { --status-light:var(--accent); }
.hero-badge[data-status=available] { --status-light:var(--success); }
.hero-badge[data-status=employed] { --status-light:var(--warning); }
.hero-badge[data-status=unavailable] { --status-light:var(--muted); }
.hero-badge .dot { width:7px; height:7px; flex:0 0 7px; background:var(--status-light); box-shadow:0 0 0 3px color-mix(in srgb,var(--status-light) 12%,transparent); }
/* Local variable typography: Noto Sans SC, SIL OFL 1.1 (license beside font). */

:root { --font-sans:'Jopolis Sans','Noto Sans SC','PingFang SC','Microsoft YaHei',sans-serif; --font-code:'Roboto Mono','Cascadia Code',Consolas,monospace; --weight-body:400; --weight-medium:500; --weight-heading:600; --weight-strong:700; }
html,body { font-family:var(--font-sans); font-weight:var(--weight-body); }
body :is(h1,h2,h3,h4,h5,h6,p,a,span,button,input,select,textarea,summary,th,td,figcaption,label,li,em,strong,small) { font-family:var(--font-sans); }
body :is(h1,h2,h3,h4,h5,h6) { font-weight:var(--weight-heading); }
body :is(button,.hero-link,.tag-btn,.menu-item a,.hero-badge) { font-weight:var(--weight-medium); }
body strong { font-weight:var(--weight-strong); }
body :is(pre,code,kbd,samp),body pre *,body code *,body figure.highlight *:not(button):not(svg):not(path):not(rect) { font-family:var(--font-code); }
body .copy-code { font-family:var(--font-sans); }
/* Album captions use the shared face at a more legible size. */
.album-photo figcaption { font-family:var(--font-sans); font-size:14px; font-weight:400; line-height:1.6; letter-spacing:normal; }
@media(max-width:688px){.album-photo figcaption{font-size:13px;}}

/* Remix Icon line icons: official SVGs, rendered as currentColor masks. */
.ri-icon { display:inline-block; width:20px; height:20px; flex:0 0 20px; background-color:currentColor; -webkit-mask:var(--icon-url) center / contain no-repeat; mask:var(--icon-url) center / contain no-repeat; }
.header .nav-icon.ri-icon { display:none; }
.footer-ic .ri-icon { width:20px; height:20px; }
@media(max-width:688px){.header .nav-icon.ri-icon { display:block; width:20px; height:20px; }}
[data-icon="home-5-line"] { --icon-url:url('/managed-assets/icons/remix/home-5-line.svg'); }
[data-icon="briefcase-4-line"] { --icon-url:url('/managed-assets/icons/remix/briefcase-4-line.svg'); }
[data-icon="article-line"] { --icon-url:url('/managed-assets/icons/remix/article-line.svg'); }
[data-icon="gallery-line"] { --icon-url:url('/managed-assets/icons/remix/gallery-line.svg'); }
[data-icon="links-line"] { --icon-url:url('/managed-assets/icons/remix/links-line.svg'); }
[data-icon="qq-line"] { --icon-url:url('/managed-assets/icons/remix/qq-line.svg'); }
[data-icon="wechat-line"] { --icon-url:url('/managed-assets/icons/remix/wechat-line.svg'); }
[data-icon="mail-line"] { --icon-url:url('/managed-assets/icons/remix/mail-line.svg'); }
[data-icon="phone-line"] { --icon-url:url('/managed-assets/icons/remix/phone-line.svg'); }

/* Brand mark is theme-aware without changing the primary blue. */
.header .logo-img { filter:none; }
[data-theme=dark] .header .logo-img { filter:none; }
.work-entry,.work-grid-item { box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 10%,transparent); }
@media(hover:hover){.work-entry.has-entered:hover,.work-grid-item.has-entered:hover{box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 16%,transparent);}}
/* Restore monochrome identity; a brief hover/focus glitch, never continuous flicker. */
[data-theme=dark] .header .logo-img { filter:invert(1); }
@media(prefers-reduced-motion:no-preference) and (hover:hover) {
 .site-brand-container a:hover .logo-img,.site-brand-container a:focus-visible .logo-img { animation:brand-glitch .42s steps(1,end) 1; }
 @keyframes brand-glitch {
  0%,100% { transform:translate(0); clip-path:inset(0); }
  12% { transform:translate(-2px,0); clip-path:inset(12% 0 38% 0); }
  24% { transform:translate(2px,0); clip-path:inset(44% 0 5% 0); }
  36% { transform:translate(-1px,1px); clip-path:inset(0); }
  48% { transform:translate(2px,-1px); clip-path:inset(24% 0 22% 0); }
  60% { transform:translate(-2px,0); clip-path:inset(55% 0 0 0); }
  72% { transform:translate(1px,0); clip-path:inset(0); }
 }
}
@media(prefers-reduced-motion:reduce) { .header .logo-img { animation:none; } }
/* Footer typography: readable metadata, same family as the rest of the interface. */
.footer .footer-row,.footer .footer-val,.footer .footer-key,.footer .footer-val em,.footer .footer-clock,.footer .footer-meta,.footer .footer-link { font-family:var(--font-sans); font-size:14px; font-weight:400; line-height:1.65; letter-spacing:0; }
.footer .footer-key { font-size:13px; font-weight:500; }
.footer .footer-clock,.footer .footer-val em { font-variant-numeric:tabular-nums; }
.footer .footer-meta { color:var(--ink-soft); }
@media(max-width:688px) { .footer .footer-row,.footer .footer-val,.footer .footer-val em,.footer .footer-clock,.footer .footer-meta { font-size:13px; } .footer .footer-key { font-size:12px; } }
/* Ambient identity motion: quiet most of the time, short glitch every 12 seconds. */
@media(prefers-reduced-motion:no-preference) {
 .header .site-brand-container .logo-img,.site-brand-container a:hover .logo-img,.site-brand-container a:focus-visible .logo-img { animation:brand-ambient-glitch 12s steps(1,end) infinite; }
 @keyframes brand-ambient-glitch {
  0%,95%,100% { transform:translate(0); clip-path:inset(0); }
  95.5% { transform:translate(-2px,0); clip-path:inset(12% 0 38% 0); }
  96% { transform:translate(2px,0); clip-path:inset(44% 0 5% 0); }
  96.5% { transform:translate(-1px,1px); clip-path:inset(0); }
  97% { transform:translate(2px,-1px); clip-path:inset(24% 0 22% 0); }
  97.5% { transform:translate(-2px,0); clip-path:inset(55% 0 0 0); }
  98% { transform:translate(1px,0); clip-path:inset(0); }
 }
}
/* Playlist overlay transitions preserve the fixed player's anchor. */
.music-dock .music-list,.music-dock .music-list[hidden] {
 display:block; opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0) scale(1); transform-origin:bottom center;
 transition:opacity var(--duration-control,.18s) ease,transform var(--duration-control,.18s) cubic-bezier(.2,0,0,1),visibility 0s;
}
.music-dock .music-list[hidden] {
 opacity:0; visibility:hidden; pointer-events:none; transform:translateY(6px) scale(.98);
 transition:opacity var(--duration-control,.18s) ease,transform var(--duration-control,.18s) cubic-bezier(.2,0,0,1),visibility 0s .18s;
}
.music-dock.list-below .music-list { transform-origin:top center; }
.music-dock.list-below .music-list[hidden] { transform:translateY(-6px) scale(.98); }
@media(prefers-reduced-motion:reduce) { .music-dock .music-list,.music-dock .music-list[hidden] { transition:none; transform:none; } }
@media(prefers-reduced-motion:no-preference) { .music-dock.music-ready:not([hidden]) { animation:music-ready-enter .22s cubic-bezier(.2,0,0,1); } @keyframes music-ready-enter { from{opacity:0;translate:0 8px} to{opacity:1;translate:0 0} } }

.friend-avatar[hidden], .friend-card img[hidden] { display:none; }
.main:has(.portfolio-cover){padding-top:0}.portfolio-cover{position:relative;isolation:isolate;box-sizing:border-box;min-height:calc(100svh - var(--nav-height,80px));width:calc(100vw - 48px);margin-left:calc(50% - 50vw + 24px);padding:32px clamp(24px,5vw,96px);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:var(--surface);border-radius:var(--radius-panel)}.cover-top,.cover-bottom,.cover-byline{display:flex;justify-content:space-between;align-items:center;gap:24px;position:relative;z-index:1}.cover-top,.cover-bottom{font-size:12px;letter-spacing:.09em}.cover-title{position:relative;z-index:1;padding:7vh 0}.cover-title>p{color:var(--muted);font-size:15px}.cover-title h1{font-size:clamp(76px,12vw,190px);line-height:.92;letter-spacing:-.07em;font-weight:650;margin:24px 0 36px}.cover-title h1 span{color:var(--accent)}.cover-byline{max-width:650px;font-size:15px}.cover-bottom{padding-top:24px;border-top:1px solid var(--line)}.cover-orbit{position:absolute;right:-8%;top:10%;width:55vw;height:55vw;max-height:85%;opacity:.6;pointer-events:none;display:grid;place-items:center;color:var(--accent);z-index:0}.cover-orbit i{position:absolute;inset:0;border:1px solid color-mix(in srgb,var(--accent) 25%,transparent);border-radius:50%;animation:cover-orbit 16s linear infinite}.cover-orbit i:nth-child(2){inset:12%;animation-direction:reverse;animation-duration:22s}.cover-orbit i:nth-child(3){inset:25%;animation-duration:12s}.cover-orbit i:after{content:'';position:absolute;top:15%;left:15%;width:16px;height:16px;border-radius:50%;background:var(--accent)}.cover-orbit>span{font-size:clamp(120px,25vw,400px);font-weight:700;opacity:.07;animation:cover-drift 8s ease-in-out infinite alternate}@keyframes cover-orbit{to{transform:rotate(360deg)}}@keyframes cover-drift{to{transform:translateY(-24px) rotate(8deg)}}#resume{scroll-margin-top:100px}@media(max-width:688px){.portfolio-cover{width:calc(100vw - 24px);margin-left:calc(50% - 50vw + 12px);min-height:calc(100svh - var(--nav-height,72px));padding:24px}.cover-top{align-items:flex-start;font-size:10px}.cover-top span:last-child{max-width:90px;text-align:right}.cover-title h1{font-size:clamp(60px,16vw,110px)}.cover-title{padding:8vh 0}.cover-title>p{font-size:12px}.cover-byline{align-items:flex-start;flex-direction:column;gap:20px}.cover-orbit{width:110vw;height:110vw;top:15%;right:-50%}.cover-bottom{font-size:10px;letter-spacing:0;gap:12px}}@media(prefers-reduced-motion:no-preference){.header .site-brand-container .logo-img{animation:brand-visible-glitch 4.8s linear infinite!important}}@keyframes brand-visible-glitch{0%,85%,100%{transform:none;filter:var(--brand-base-filter,none)}86%,90%{transform:translateX(-2px);filter:var(--brand-base-filter,none) blur(.5px) drop-shadow(2px 0 #52a9ff) drop-shadow(-2px 0 #ed729e)}88%,93%{transform:translateX(2px) skewX(-3deg);filter:var(--brand-base-filter,none) blur(.25px) drop-shadow(-2px 0 #52a9ff) drop-shadow(2px 0 #ed729e)}}[data-theme=dark]{--brand-base-filter:invert(1)}@media(prefers-reduced-motion:reduce){.cover-orbit i,.cover-orbit>span{animation:none}}
.portfolio-cover{height:calc(100svh - var(--nav-height,80px));min-height:0}.cover-title{padding:0}.main:has(.portfolio-cover) .flex-container{padding-top:0}@media(max-width:688px){.portfolio-cover{height:calc(100svh - var(--nav-height,72px));min-height:0}.cover-title{padding:0}.cover-title h1{margin:18px 0 24px}}@media(max-height:600px) and (min-width:689px){.cover-title h1{font-size:clamp(60px,9vw,110px);margin:12px 0}.cover-title>p{margin:8px 0}}
.cover-editorial{background:linear-gradient(120deg,var(--bg),var(--surface));border-radius:0}.cover-composition{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:5vw;flex:1}.cover-editorial .cover-title h1{font-size:clamp(68px,7.5vw,140px);line-height:1.12;letter-spacing:-.065em;margin:24px 0}.cover-period{color:var(--accent)}.cover-kicker{letter-spacing:.16em}.cover-subtitle{font-size:15px;color:var(--muted)}.cover-actions{display:flex;gap:12px;margin-top:32px}.cover-gallery{position:relative;min-height:440px;perspective:1200px}.cover-sheet{position:absolute;display:flex;flex-direction:column;justify-content:space-between;width:64%;height:340px;padding:28px;box-sizing:border-box;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--card);color:var(--ink);box-shadow:0 20px 50px color-mix(in srgb,var(--accent) 12%,transparent);animation:sheet-float 7s ease-in-out infinite alternate;transition:translate .25s}.sheet-0{left:0;top:55px;rotate:-12deg}.sheet-1{left:18%;top:20px;rotate:2deg;background:var(--accent);color:var(--bg);animation-delay:-3s}.sheet-2{left:36%;top:95px;rotate:13deg;animation-delay:-5s}.sheet-number{font-size:10px;letter-spacing:.14em}.cover-sheet strong{font-size:28px}.sheet-rule{height:1px;background:currentColor;opacity:.3}.cover-sheet em{font-size:40px;line-height:.95;font-style:normal;font-weight:700;letter-spacing:-.05em}.sheet-arrow{align-self:flex-end;font-size:26px}.cover-sheet:hover{translate:0 -18px;z-index:2}.cover-editorial .cover-bottom a{position:relative;z-index:5;min-height:44px;display:flex;align-items:center}@keyframes sheet-float{to{transform:translateY(-18px) rotate(2deg)}}.music-launcher{overflow:hidden;padding:0;display:grid;place-items:center}.music-launcher img{width:100%;height:100%;object-fit:cover;border-radius:50%}.music-launcher.is-playing{animation:mini-record 18s linear infinite}@keyframes mini-record{to{transform:rotate(360deg)}}@media(max-width:688px){.cover-composition{grid-template-columns:1fr;gap:8px}.cover-editorial .cover-title h1{font-size:clamp(48px,12vw,78px);margin:12px 0}.cover-kicker{font-size:10px!important}.cover-subtitle{font-size:12px}.cover-actions{margin-top:16px}.cover-gallery{min-height:200px;width:80%;margin:0 auto}.cover-sheet{height:180px;padding:15px}.sheet-0{top:10px}.sheet-1{top:0}.sheet-2{top:25px}.cover-sheet strong{font-size:17px}.cover-sheet em{font-size:24px}.sheet-number{font-size:8px}.cover-ticker{display:none}.cover-editorial .cover-bottom{padding-top:8px}.music-launcher{width:44px;height:44px}}@media(prefers-reduced-motion:no-preference){.header .site-brand-container .logo-img{animation:brand-bold-glitch 3.8s steps(1,end) infinite!important}}@keyframes brand-bold-glitch{0%,78%,100%{transform:none;filter:var(--brand-base-filter,none)}80%,86%,92%{transform:translate(-4px,1px) skewX(-9deg);filter:var(--brand-base-filter,none) blur(.7px) drop-shadow(4px 0 #008cff) drop-shadow(-4px 0 #ff408c)}82%,89%,95%{transform:translate(4px,-1px) skewX(7deg);filter:var(--brand-base-filter,none) blur(.3px) drop-shadow(-3px 0 #008cff) drop-shadow(3px 0 #ff408c)}84%,90%{transform:translateX(-1px);filter:var(--brand-base-filter,none)}}@media(prefers-reduced-motion:reduce){.cover-sheet,.music-launcher.is-playing{animation:none}}
.brand-slices{position:relative;display:inline-block;line-height:0}.brand-slice{position:absolute!important;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;opacity:0}.header .site-brand-container .logo-img{animation:none!important;transform:none!important;filter:var(--brand-base-filter,none)!important}.brand-slice{filter:var(--brand-base-filter,none)}@media(prefers-reduced-motion:no-preference){.slice-a{animation:logo-slice-a 4.2s steps(1,end) infinite;clip-path:inset(15% 0 53% 0)}.slice-b{animation:logo-slice-b 4.2s steps(1,end) infinite;clip-path:inset(53% 0 16% 0)}}@keyframes logo-slice-a{0%,84%,100%{opacity:0;transform:none}85%,89%{opacity:1;transform:translateX(-4px)}87%,92%{opacity:1;transform:translateX(3px)}90%{opacity:0}}@keyframes logo-slice-b{0%,84%,100%{opacity:0;transform:none}86%,90%{opacity:1;transform:translateX(4px)}88%,93%{opacity:1;transform:translateX(-3px)}}.cover-sheet{transform:translate3d(var(--sheet-x,0px),var(--sheet-y,0px),0) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .18s ease-out,translate .25s;animation:none!important}.cover-gallery{transform:translate3d(var(--cover-x,0px),var(--cover-y,0px),0);transition:transform .3s ease-out}.cover-editorial{background:radial-gradient(ellipse at var(--mouse-x,65%) var(--mouse-y,45%),color-mix(in srgb,var(--accent) 9%,transparent),transparent 55%),var(--surface)}.cover-sheet:active{scale:.97}.cover-editorial .cover-actions a:active{scale:.96}@media(prefers-reduced-motion:reduce){.cover-sheet,.cover-gallery{transform:none!important;transition:none!important}}
.cover-sheet{animation:sheet-breathe 7s ease-in-out infinite alternate!important}.sheet-1{animation-delay:-3s!important}.sheet-2{animation-delay:-5s!important}@keyframes sheet-breathe{to{translate:0 -10px}}@media(prefers-reduced-motion:reduce){.cover-sheet{animation:none!important}}
.cover-float{position:absolute;width:64%;height:340px;animation:cover-float-drift 6s ease-in-out infinite alternate;will-change:transform;--rest-angle:-12deg}.float-0{left:0;top:55px}.float-1{left:18%;top:20px;--rest-angle:2deg;animation-delay:-2s}.float-2{left:36%;top:95px;--rest-angle:13deg;animation-delay:-4s}.cover-float .cover-sheet{position:relative;inset:auto;width:100%;height:100%;rotate:0deg;translate:none;animation:none!important;backface-visibility:hidden;will-change:transform}.cover-float .cover-sheet:hover{translate:0 -12px}.cover-gallery{transform-style:preserve-3d;perspective:1000px}@keyframes cover-float-drift{0%{transform:translate3d(-5px,8px,0) rotate(calc(var(--rest-angle) - 1deg))}100%{transform:translate3d(7px,-16px,0) rotate(calc(var(--rest-angle) + 2deg))}}@media(max-width:688px){.cover-float{height:180px}.float-0{top:10px}.float-1{top:0}.float-2{top:25px}}.music-dock{will-change:transform,opacity}.brand-slice{mix-blend-mode:normal}.slice-a{filter:var(--brand-base-filter,none) drop-shadow(3px 0 #00dfd3);clip-path:inset(18% 0 47% 0)}.slice-b{filter:var(--brand-base-filter,none) drop-shadow(-3px 0 #ff3975);clip-path:inset(52% 0 13% 0)}@keyframes logo-slice-a{0%,80%,100%{opacity:0;transform:none}81%,86%{opacity:1;transform:translateX(-5px);clip-path:inset(18% 0 60% 0)}83%,89%{opacity:1;transform:translateX(4px);clip-path:inset(40% 0 35% 0)}84%,92%{opacity:1;transform:translateX(-2px);clip-path:inset(65% 0 20% 0)}94%{opacity:0}}@keyframes logo-slice-b{0%,80%,100%{opacity:0;transform:none}82%,87%{opacity:1;transform:translateX(5px);clip-path:inset(55% 0 20% 0)}85%,90%{opacity:1;transform:translateX(-4px);clip-path:inset(25% 0 55% 0)}88%,93%{opacity:1;transform:translateX(2px);clip-path:inset(75% 0 8% 0)}95%{opacity:0}}@media(prefers-reduced-motion:reduce){.cover-float{animation:none;transform:rotate(var(--rest-angle))}}
.music-dock.music-ready:not([hidden]){animation:none!important}.cover-float:hover{z-index:4}
/* Keep card typography legible; generic link rules must not recolor its children. */
.cover-sheet{--sheet-ink:var(--ink);color:var(--sheet-ink)!important;display:flex!important;flex-direction:column;overflow:visible;text-decoration:none!important}.cover-sheet.sheet-1{--sheet-ink:var(--bg);background:var(--accent)}.cover-sheet :is(span,strong,em){color:var(--sheet-ink)!important;opacity:1}.cover-sheet .sheet-rule{background:var(--sheet-ink);opacity:.3;flex:none}.cover-sheet .sheet-number{display:block!important;line-height:1.5}.cover-sheet .sheet-arrow{display:block!important;line-height:1;flex:none}.cover-sheet em{display:block;flex:none}.cover-float{transform-style:flat}.cover-title{transform:translate3d(var(--title-x,0px),var(--title-y,0px),0);transition:transform .7s cubic-bezier(.16,1,.3,1);will-change:transform}.cover-title h1{animation:title-breathe 7.5s ease-in-out infinite alternate;will-change:translate}@keyframes title-breathe{0%{translate:0 3px}100%{translate:2px -6px}}.brand-slice{display:none!important}.brand-slices::before,.brand-slices::after{content:'';position:absolute;inset:0;pointer-events:none;opacity:0;-webkit-mask:url('/managed-assets/logo.svg') center/contain no-repeat;mask:url('/managed-assets/logo.svg') center/contain no-repeat;will-change:transform,opacity}.brand-slices::before{background:#00cfc4;clip-path:inset(20% 0 49% 0)}.brand-slices::after{background:#fa3269;clip-path:inset(52% 0 16% 0)}@media(prefers-reduced-motion:no-preference){.brand-slices::before{animation:brand-tear-cyan 4.2s linear infinite}.brand-slices::after{animation:brand-tear-red 4.2s linear infinite}}@keyframes brand-tear-cyan{0%,82%,94%,100%{opacity:0;transform:translate3d(0,0,0)}83%,85%{opacity:.95;transform:translate3d(-3px,0,0)}86%,88%{opacity:.8;transform:translate3d(2px,0,0)}89%,91%{opacity:.9;transform:translate3d(-1px,0,0)}}@keyframes brand-tear-red{0%,82%,94%,100%{opacity:0;transform:translate3d(0,0,0)}83%,85%{opacity:.9;transform:translate3d(3px,0,0)}86%,88%{opacity:.8;transform:translate3d(-2px,0,0)}89%,91%{opacity:.9;transform:translate3d(1px,0,0)}}@media(prefers-reduced-motion:reduce){.cover-title{transform:none;transition:none}.cover-title h1{animation:none}}
/* Perspective deck: independent ambient movement remains on the inner surface. */
.cover-editorial .cover-composition{perspective:1400px}.cover-editorial .cover-title{transform:perspective(1100px) translate3d(var(--title-x,0px),var(--title-y,0px),40px) rotateY(-7deg);transform-origin:left center}.cover-title h1{line-height:1.02;letter-spacing:-.07em;text-shadow:3px 4px 0 color-mix(in srgb,var(--accent) 8%,transparent)}.cover-gallery{perspective:850px;transform-style:preserve-3d;min-height:470px}.cover-float{left:18%!important;top:45px!important;width:64%;animation:none!important;transition:transform .65s cubic-bezier(.22,.85,.18,1.12);transform-style:preserve-3d;will-change:transform}.cover-float[data-slot="0"]{z-index:3;transform:translate3d(0,-10px,75px) rotateY(-13deg) rotateZ(-3deg) scale(1.04)}.cover-float[data-slot="1"]{z-index:2;transform:translate3d(43%,35px,-100px) rotateY(-24deg) rotateZ(12deg) scale(.88)}.cover-float[data-slot="2"]{z-index:1;transform:translate3d(-43%,45px,-120px) rotateY(24deg) rotateZ(-13deg) scale(.88)}.cover-float:hover{z-index:revert}.cover-float[data-slot="0"]{z-index:3}.cover-float[data-slot="1"]{z-index:2}.cover-float[data-slot="2"]{z-index:1}.cover-float .cover-sheet:hover{translate:none}.cover-deck-controls{position:absolute;bottom:-8px;left:18%;right:4%;display:flex;align-items:center;justify-content:center;gap:16px;z-index:5;transform:translateZ(140px);font-size:12px;color:var(--muted)}.cover-deck-controls button{border:1px solid var(--line);background:var(--card);color:var(--accent);border-radius:var(--radius-pill);min-height:40px;min-width:40px;padding:0 12px;cursor:pointer;transition:background .2s,scale .2s}.cover-deck-controls button:hover{background:var(--selected)}.cover-deck-controls button:active{scale:.93}.cover-deck-controls [data-deck-sound]{font-size:11px}.brand-slices::before{background:var(--accent)}.brand-slices::after{background:color-mix(in srgb,var(--accent) 40%,#a9e8ff)}.menu-item-active>a{color:var(--accent)!important}@media(max-width:688px){.cover-gallery{min-height:240px;perspective:650px}.cover-float{top:12px!important;width:64%}.cover-deck-controls{bottom:-2px;left:0;right:0;gap:10px}.cover-deck-controls button{min-height:32px;min-width:32px}.cover-editorial .cover-title{transform:translate3d(var(--title-x,0px),var(--title-y,0px),0)}}@media(prefers-reduced-motion:reduce){.cover-float{transition:none}.cover-editorial .cover-title{transform:none}}
/* Concave stage: the outer edges approach the viewer; the middle recedes. */
.cover-editorial .cover-title{transform:perspective(1300px) translate3d(var(--title-x,0px),var(--title-y,0px),-35px) rotateY(12deg);transform-origin:right center}.cover-gallery{transform:perspective(1300px) translate3d(var(--cover-x,0px),var(--cover-y,0px),-35px) rotateY(-12deg);transform-origin:left center}.cover-float{transition:transform .55s cubic-bezier(.16,1,.3,1)}.cover-float[data-slot="0"]{transform:translate3d(0,-8px,-30px) rotateY(0deg) rotateZ(-2deg) scale(1)}.cover-float[data-slot="1"]{transform:translate3d(43%,30px,45px) rotateY(-18deg) rotateZ(9deg) scale(.9)}.cover-float[data-slot="2"]{transform:translate3d(-43%,35px,45px) rotateY(18deg) rotateZ(-10deg) scale(.9)}.cover-sheet{transition:transform .35s cubic-bezier(.16,1,.3,1)!important}.brand-slices::before{clip-path:inset(16% 0 46% 0)}.brand-slices::after{clip-path:inset(49% 0 12% 0)}@keyframes brand-tear-cyan{0%,80%,96%,100%{opacity:0;transform:translate3d(0,0,0)}81%,84%{opacity:1;transform:translate3d(-8px,0,0)}85%,89%{opacity:.95;transform:translate3d(6px,-1px,0)}90%,94%{opacity:1;transform:translate3d(-4px,0,0)}}@keyframes brand-tear-red{0%,80%,96%,100%{opacity:0;transform:translate3d(0,0,0)}81%,84%{opacity:1;transform:translate3d(8px,0,0)}85%,89%{opacity:.95;transform:translate3d(-6px,1px,0)}90%,94%{opacity:1;transform:translate3d(4px,0,0)}}@media(max-width:688px){.cover-editorial .cover-title{transform:translate3d(var(--title-x,0px),var(--title-y,0px),0)}.cover-gallery{transform:perspective(1000px) rotateX(4deg);touch-action:pan-y}}@media(prefers-reduced-motion:reduce){.cover-editorial .cover-title,.cover-gallery{transform:none}.cover-float{transition:none}}
.text-cursor,.text-cursor.is-visible{transform:translate(-50%,-50%) scale(var(--cursor-scale,.25));transition:opacity .12s ease;will-change:transform}
[data-theme="dark"]{--bg:#121820;--card:#1d2734;--surface:#182230;--ink:#e6edf7;--ink-soft:#c3cfdf;--muted:#9cacc2;--line:#42536a;--line-soft:#2c3b4f;--accent:#8cb7f0;--on-accent:#132941;--hover:#26384e;--selected:#293f5c;--selection-bg:#345379;--selection-text:#f1f6ff;--shadow-panel:0 10px 30px #24436933}
.marked-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:24px 0}.marked-search{display:grid;gap:9px;max-width:480px;flex:1;font-size:13px;color:var(--muted)}.marked-search input{box-sizing:border-box;width:100%;min-height:48px;padding:12px 18px;border:1px solid var(--line-soft);border-radius:var(--radius-control);background:var(--card);color:var(--ink);font:inherit;font-size:15px}.marked-search input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.marked-count{font-size:12px;color:var(--muted);padding-bottom:14px;white-space:nowrap}.marked-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}.marked-filters [aria-pressed=true]{background:var(--selected);color:var(--accent)}.marked-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.marked-card{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid var(--line-soft);border-radius:var(--radius-panel);background:var(--surface);color:var(--ink);transition:transform .22s ease,box-shadow .22s ease}.marked-card[hidden]{display:none}.marked-card-top{display:flex;align-items:center;gap:12px}.marked-card-top>span:last-child{margin-left:auto;color:var(--accent)}.marked-initial{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--radius-control);background:var(--selected);color:var(--accent);font-size:22px}.marked-card h2{font-size:20px;margin:22px 0 10px}.marked-card p{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 24px}.marked-domain{margin-top:auto;font-size:12px;color:var(--accent);overflow-wrap:anywhere}.marked-empty{padding:40px 0;color:var(--muted)}@media(hover:hover){.marked-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-panel)}}@media(max-width:1000px){.marked-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.marked-grid{grid-template-columns:minmax(0,1fr)}.marked-tools{align-items:center}.marked-card{padding:20px}.marked-count{padding:0}}@media(prefers-reduced-motion:reduce){.marked-card{transition:none}}

[data-icon="bookmark-3-line"]{--icon-url:url("/managed-assets/icons/remix/bookmark-3-line.svg")}
