:root{--portfolio-pink:#ff8fbd;--portfolio-paper:#ede8e1;--portfolio-ink:#141414}
.portfolio-section,.learning-section,.notes-section{padding:88px max(24px,calc((100vw - 1200px)/2));scroll-margin-top:24px}.portfolio-section{background:#0c0c0c}.section-heading{max-width:760px;margin-bottom:36px}.section-kicker{font-size:.875rem;letter-spacing:.12em;font-weight:500;color:#ffb2d2}.section-heading h2{font-size:clamp(2.2rem,5.8vw,4.5rem);line-height:1.15;font-weight:600;letter-spacing:-.025em;margin:16px 0}.section-heading>p{font-size:1.05rem;line-height:1.8;color:#dbc9d1;max-width:640px;font-weight:300}.portfolio-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px;position:sticky;top:0;z-index:12;background:#0c0c0cf5;backdrop-filter:blur(12px);padding:14px 0}.portfolio-filters{display:flex;gap:8px;flex-wrap:wrap}.portfolio-filters button{font:inherit;font-size:.875rem;padding:9px 15px;border:1px solid #ffc1da4d;border-radius:999px;background:transparent;color:#f7e4ec;cursor:pointer;transition:background .2s,color .2s}.portfolio-filters button[aria-pressed=true]{background:#ffc1da;color:#24121b;border-color:#ffc1da}.portfolio-filters button:focus-visible{outline:2px solid #fff;outline-offset:3px}#portfolio-count{font-size:.875rem;white-space:nowrap;color:#e0c3d0}.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px}.work-card{min-width:0}.work-card-link{display:block;color:inherit;text-decoration:none;height:100%;border:1px solid #ffc1da25;border-radius:18px;overflow:hidden;background:#151115;transition:border-color .2s,transform .2s}.work-card-link:hover{border-color:#ff8fbd;transform:translateY(-4px)}.work-card-link:focus-visible{outline:2px solid #ff8fbd;outline-offset:5px}.work-art{height:320px;background:#e9e2d9;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:18px}.work-art img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .5s}.work-card-link:hover img{transform:scale(1.025)}.work-art.editorial-cover{background:#1c151c}.work-stage{position:absolute;left:12px;top:12px;max-width:calc(100% - 24px);background:#0c0c0ce8;border:1px solid #ffc1da80;color:#fff0f6;border-radius:999px;padding:6px 11px;font-size:.875rem;line-height:1.3}.work-card-copy{padding:22px 22px 24px}.work-kind{font-size:.875rem;color:#ffafd0;margin-bottom:10px}.work-card h3{font-size:1.4rem;font-weight:500;line-height:1.3;overflow-wrap:anywhere}.work-subtitle{font-size:1rem;line-height:1.6;opacity:.8;margin-top:10px;min-height:3.2em}.work-open{display:inline-block;font-size:.875rem;border-bottom:1px solid #ff8fbd;padding-bottom:3px;margin-top:20px}.learning-section{background:var(--portfolio-paper);color:#141414;border-radius:44px 44px 0 0;margin-top:36px}.learning-section .section-kicker{color:#b52d62}.learning-section .section-heading>p{color:#5b514f}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.course-card{border-top:2px solid #b52d62;padding:28px 24px;background:#f7f3ee;display:flex;flex-direction:column;align-items:flex-start;min-height:300px}.course-status{font-size:.875rem;color:#a12356;margin-bottom:22px}.course-card h3{font-size:1.5rem;font-weight:600;line-height:1.3}.course-card p{font-size:1rem;line-height:1.8;margin:18px 0 24px;color:#5b514f}.course-card button{font:inherit;font-size:.875rem;cursor:pointer;background:#141414;color:#fff;padding:10px 17px;border:1px solid #141414;border-radius:999px;margin-top:auto}.course-card button:hover{background:#a72b5c;border-color:#a72b5c}.notes-section{background:#181218}.note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}.note-card{padding:30px 0;border-top:1px solid #ffc1da40}.note-card-label{font-size:.875rem;color:#ffafd0}.note-card h3{font-size:1.5rem;line-height:1.4;font-weight:500;margin:14px 0}.note-card h3 a{text-decoration:none}.note-card h3 a:hover{color:#ffafd0}.note-card p{font-size:1rem;line-height:1.8;color:#dbc9d1;max-width:520px;font-weight:300}.note-read{display:inline-block;font-size:.875rem;text-decoration:none;border-bottom:1px solid #ffc1da;padding-bottom:3px;margin-top:22px}.notes-section+.about{margin-top:0}
#portfolio-dialog{position:fixed;inset:0;margin:auto;max-width:min(1100px,94vw);width:1100px;max-height:90svh;border:1px solid #ffc1da70;border-radius:24px;padding:0;background:#f4f0eb;color:#191419;overflow:auto;font-family:inherit}#portfolio-dialog::backdrop{background:#070307cc;backdrop-filter:blur(6px)}.detail-close-form{position:sticky;top:0;z-index:10;height:0;display:flex;justify-content:flex-end;pointer-events:none}.detail-close{margin:14px 14px 0 0;width:40px;height:40px;border-radius:50%;border:1px solid #1c111c;background:#f7f3ee;color:#191419;font-size:1.6rem;line-height:1;cursor:pointer;pointer-events:auto}.project-detail{display:grid;grid-template-columns:.85fr 1.15fr;min-height:600px}.project-detail-art{background:#e7ddd7;padding:40px 26px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;margin:0;min-width:0}.project-detail-art img{max-width:100%;max-height:620px;object-fit:contain}.project-detail-art figcaption{font-size:.875rem;color:#6b555e}.project-detail-copy{padding:64px 40px 40px;min-width:0}.detail-kicker{font-size:.875rem;letter-spacing:.08em;color:#a62a5b;margin-bottom:16px}.detail-stage{display:inline-block;padding:5px 10px;border:1px solid #a62a5b;border-radius:999px;font-size:.875rem;color:#a62a5b;line-height:1.4}#detail-title{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.15;margin:20px 0 12px;font-weight:600;overflow-wrap:anywhere}.detail-subtitle{font-size:1.05rem;line-height:1.7;color:#62525b}.project-detail section,.course-detail section{margin-top:28px}.project-detail h3,.course-detail h3{font-size:1rem;margin-bottom:8px;font-weight:600}.project-detail section p,.course-detail li{font-size:1rem;line-height:1.8;color:#51434a}.tool-tags{display:flex;gap:8px;flex-wrap:wrap}.tool-tags span{font-size:.875rem;border:1px solid #b8a8af;padding:4px 9px;border-radius:4px}.detail-actions{margin-top:32px;display:flex;flex-wrap:wrap;align-items:center;gap:18px}.detail-primary{display:inline-block;background:#b52d62;color:white;padding:12px 20px;border-radius:999px;font-size:.875rem;text-decoration:none}.detail-secondary{font-size:.875rem;color:#7e254a;text-underline-offset:5px}.course-detail{padding:64px 8vw;max-width:850px;margin:auto}.course-detail ul{padding-left:22px}.course-detail li+li{margin-top:12px}
.note-page{background:#f2eee8;color:#191419;font-family:system-ui,-apple-system,'Noto Sans TC',sans-serif;margin:0;font-size:16px;line-height:1.8}.note-page *{box-sizing:border-box}.note-nav{max-width:1100px;margin:auto;padding:24px 28px;display:flex;justify-content:space-between;gap:24px;align-items:center;border-bottom:1px solid #b7a7ac}.note-nav a{color:#692641;text-decoration:none;font-size:.875rem}.note-languages{display:flex;gap:12px;flex-shrink:0}.note-languages a[aria-current]{font-weight:700;border-bottom:1px solid #a62a5b}.note-page main{max-width:780px;margin:auto;padding:70px 28px}.note-page .section-kicker{color:#a62a5b}.note-page h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.2;letter-spacing:-.03em;margin:18px 0 24px}.note-lede{font-size:1.2rem;line-height:1.8;color:#62525b}.note-byline{font-size:.875rem;color:#73636b;margin:24px 0 50px}.note-body section{margin:40px 0}.note-body h2,.note-related h2{font-size:1.4rem;line-height:1.4;margin-bottom:14px}.note-body p{font-size:1.05rem;line-height:2;color:#3b3136}.note-related{border-top:1px solid #c2adb6;padding-top:32px;margin-top:52px}.note-related a{display:inline-block;color:#9e2857;padding:8px 16px;border:1px solid #b9859b;margin:0 8px 8px 0;border-radius:999px;font-size:.875rem;text-decoration:none}.note-return{display:inline-block;margin-top:40px;color:#9e2857;text-underline-offset:5px}.note-footer{padding:30px 28px;text-align:center;font-size:.875rem;color:#73636b;border-top:1px solid #c2adb6}.note-page a:focus-visible,.course-card button:focus-visible,.detail-close:focus-visible{outline:2px solid #b52d62;outline-offset:4px}
@media(min-width:1440px){.work-art{height:360px}}
@media(max-width:1000px){.portfolio-grid,.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail{grid-template-columns:.8fr 1.2fr}.project-detail-copy{padding:60px 28px 32px}.work-art{height:320px}}
@media(max-width:639px){.portfolio-section,.learning-section,.notes-section{padding:56px 20px}.section-heading{margin-bottom:24px}.section-heading>p{font-size:1rem}.portfolio-toolbar{align-items:flex-start;gap:12px;padding:12px 0;flex-direction:column}.portfolio-filters{flex-wrap:nowrap;overflow-x:auto;width:100%;padding:3px 2px 8px;scrollbar-width:thin}.portfolio-filters button{flex-shrink:0;padding:8px 13px}.portfolio-grid{gap:24px 14px;grid-template-columns:repeat(2,minmax(0,1fr))}.work-art{height:220px;padding:12px}.work-card-copy{padding:16px 13px 20px}.work-card h3{font-size:1.05rem}.work-kind,.work-stage,.work-open{font-size:.875rem}.work-subtitle{font-size:.9375rem;min-height:4.8em}.work-stage{left:7px;top:8px;padding:5px 8px;max-width:calc(100% - 14px)}.course-grid,.note-grid{grid-template-columns:1fr}.course-card{min-height:0;padding:26px 22px}.learning-section{border-radius:28px 28px 0 0}.course-card h3{font-size:1.4rem}.note-card h3{font-size:1.35rem}#portfolio-dialog{max-width:100vw;width:100vw;max-height:100svh;height:100svh;border:0;border-radius:0}.project-detail{display:block}.project-detail-art{padding:48px 34px 24px;min-height:0}.project-detail-art img{max-height:42svh;max-width:100%}.project-detail-copy{padding:30px 24px 48px}.course-detail{padding:70px 26px 40px}.note-nav{padding:18px;gap:16px;align-items:flex-start}.note-nav>a{max-width:170px}.note-page main{padding:48px 22px}.nav{gap:12px;justify-content:center}.nav a{font-size:.875rem}.hero-h{margin-top:24px}}
@media(max-width:360px){.portfolio-grid{grid-template-columns:1fr}.work-art{height:300px}.work-subtitle{min-height:0}}
@media(prefers-reduced-motion:reduce){.work-card-link,.work-art img{transition:none}.work-card-link:hover{transform:none}}

.collection-nav{padding:28px max(24px,calc((100vw - 1200px)/2));display:flex;justify-content:space-between;align-items:center;background:#0c0c0c;color:#ffd2e5;font-size:1rem}.collection-nav a{text-underline-offset:5px}body[data-page=archive] .hero,body[data-page=archive] .about,body[data-page=archive] .services{display:none}body[data-page=archive] .embedded-lab{border-radius:32px 32px 0 0}body[data-page=archive] .contact{padding-top:72px}

.course-gallery figure{margin:28px 0}.course-gallery img{display:block;width:100%;border-radius:18px}.course-gallery figcaption{font-size:.875rem;line-height:1.7;margin-top:12px;color:#68505e}.course-feedback blockquote{margin:20px 0;padding:4px 0 4px 22px;border-left:3px solid #b52d62}.course-feedback blockquote p{font-size:1.05rem;line-height:1.9}.course-media{margin-top:32px}

.work-art{background:#191319;padding:18px;height:340px}.work-art.editorial-cover{background:#191319}.work-art img{object-fit:contain}.work-stage{font-size:.875rem}.portfolio-grid{align-items:start}@media(max-width:639px){.work-art{height:230px;padding:14px}}

.note-grid:has(.note-locked){grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.note-locked{padding:26px;border:1px solid #ffc1da30;border-radius:20px;background:linear-gradient(145deg,#241822,#151115);min-width:0}.note-locked-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center}.note-lock-status{display:inline-flex;align-items:center;gap:6px;font-size:.875rem;line-height:1.6;color:#e5c3d1}.note-locked h3{margin-top:30px}.note-locked p{font-size:1rem}.note-lock-track{margin-top:30px;height:3px;background:#ffc1da18;border-radius:3px;overflow:hidden}.note-lock-track i{display:block;width:20%;height:100%;background:#d68eac;border-radius:3px}@media(max-width:760px){.note-grid:has(.note-locked){grid-template-columns:1fr}.note-locked{padding:24px}.note-locked h3{margin-top:22px}}
