:root{--sans:"PingFang SC","PingFang TC",-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;--serif:var(--sans);--mono:var(--sans)}
html body,html body *,html body *::before,html body *::after{font-family:"PingFang SC","PingFang TC",-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif!important;font-weight:100!important;font-synthesis:none}
html[data-embedded] .studio-header,html[data-embedded] .studio-skip,html[data-embedded] .pagenav,html[data-embedded] footer,html[data-embedded] .grain{display:none!important}
html[data-embedded],html[data-embedded] body{height:auto;min-height:0;overflow-x:clip;scroll-behavior:auto}
html[data-embedded] body{--paper:#f3f0e8;--ink:#171916;--muted:#5f615b;--hair:rgba(23,25,22,.2);--accent:#a34a35;background:var(--paper);margin:0}
html[data-embedded][data-embedded-theme=dark] body{--paper:#0d1021;--ink:#eef0f7;--muted:#aeb4c6;--hair:rgba(232,235,244,.2);--accent:#e26557}
html[data-embedded] .hero{min-height:0!important;height:auto!important;padding:48px 0 20px!important}
html[data-embedded] .wrap{padding-inline:24px;max-width:1180px}
html[data-embedded] .rv{opacity:1;transform:none;transition:none}
html[data-embedded] .cover2-hero{height:420px}
html[data-embedded] .lightbox{display:none}
html[data-embedded] main svg{background:#eef1e9}
html[data-embedded] body[data-theme=dark] main svg{background:#131a1c}
html[data-embedded] body[data-theme=mist] main svg{background:#101820}
html[data-embedded] body[data-theme=cinnabar] main svg{background:#f0ece2}
html[data-embedded] body[data-theme=gallery-cream] main svg{background:#f4efe4}
.studio-projects,.studio-about{padding-block:88px;scroll-margin-top:calc(var(--header-h) + 24px);border-top:1px solid var(--line)}
.studio-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:40px}
.studio-section-head h2{margin:0;font-size:clamp(34px,4.5vw,64px);line-height:1.2;letter-spacing:-.025em}
.studio-section-head p{margin:0;color:var(--muted);font-size:13px}
.studio-project{border-top:1px solid var(--line);scroll-margin-top:calc(var(--header-h) + 18px)}
.studio-project:last-child{border-bottom:1px solid var(--line)}
.studio-project>.studio-project-link{display:grid;grid-template-columns:48px 120px minmax(0,1fr) auto;align-items:center;gap:28px;padding:28px 0;cursor:pointer;list-style:none}
.studio-project>.studio-project-link::-webkit-details-marker{display:none}
.studio-project .project-number{font-size:12px;color:var(--muted)}
.studio-project .studio-project-link img{width:120px;height:82px;object-fit:cover}
.studio-project .project-type{display:flex;align-items:center;width:120px;height:82px;color:var(--muted);font-size:13px;border-left:1px solid var(--line);padding-left:20px}
.studio-project h3{margin:0 0 8px;font-size:26px;line-height:1.25;color:var(--ink)}
.studio-project .project-desc{margin:0;color:var(--copy);font-size:14px;line-height:1.8;max-width:52em}
.studio-project .project-action{font-size:12px;color:var(--muted);white-space:nowrap}
.studio-project[open] .project-action .open-label,.studio-project:not([open]) .project-action .close-label{display:none}
.studio-project-frame{display:block;width:100%;height:800px;border:0;background:var(--paper)}
.studio-project-loading{color:var(--muted);font-size:13px;padding:20px 24px}
.studio-about-section{padding:36px 0;border-top:1px solid var(--line)}
.studio-about-section>p:first-child{font-size:12px;color:var(--muted);letter-spacing:.08em}
.studio-about-section h2{font-size:30px;margin:0 0 28px;line-height:1.3}
.studio-about-section .statement{max-width:950px}
.studio-about-section p{font-size:16px;line-height:1.9;color:var(--copy)}
.studio-about-section .big{font-size:clamp(22px,2.8vw,36px);line-height:1.6;color:var(--ink)}
.studio-about-section .cols-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
.studio-about-section .card{padding:0;border:0}
.studio-about-section .idx{font-size:12px;color:var(--muted)}
.studio-about-section h3{font-size:24px;line-height:1.4;margin:18px 0}
.studio-about-section .chapter{display:block}
.studio-about-section .no{display:none}
.studio-about-section .doc-item{padding:24px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:90px minmax(0,1fr) 90px;gap:24px}
.studio-about-section h4{font-size:18px;margin:0}
.studio-about-section .yr,.studio-about-section .tag{font-size:12px;color:var(--muted)}
.studio-about-section .doc-item p{margin:8px 0 0;font-size:14px}
.studio-gallery{padding:0;width:min(1100px,calc(100vw - 32px));max-height:90dvh;background:var(--paper);color:var(--ink);border:1px solid var(--line)}
.studio-gallery::backdrop{background:rgba(10,15,26,.8)}
.studio-gallery img{display:block;width:100%;max-height:75dvh;object-fit:contain}
.studio-gallery-bar{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px 22px;font-size:13px}
.studio-gallery-bar button{border:0;background:transparent;color:inherit;cursor:pointer;padding:8px;font-size:14px}
.studio-gallery-bar p{margin:0;flex:1}
@media(max-width:760px){.studio-projects,.studio-about{padding-block:56px}.studio-section-head{display:block}.studio-section-head p{margin-top:16px}.studio-project>.studio-project-link{grid-template-columns:24px minmax(0,1fr) auto;gap:12px;padding:24px 0}.studio-project .studio-project-link img,.studio-project .project-type{display:none}.studio-project h3{font-size:22px}.studio-project .project-desc{font-size:13px}.studio-project .project-action{font-size:11px}.studio-about-section .cols-3{grid-template-columns:1fr;gap:24px}.studio-about-section .doc-item{grid-template-columns:1fr;gap:8px}.studio-gallery-bar{flex-wrap:wrap;gap:6px;padding:10px}.studio-gallery-bar p{flex-basis:100%}}

/* Keep a painted document throughout navigation. */
@view-transition{navigation:auto}
::view-transition-old(root){animation:none;opacity:1}
::view-transition-new(root){animation:studio-page-in .16s ease-out both}
@keyframes studio-page-in{from{opacity:0}to{opacity:1}}
html{background:#f3f0e8}
html[data-theme="dark"]{background:#0d1021}
body[data-theme]{--paper:#f3f0e8;--ink:#171916;--muted:#5f615b;--hair:rgba(23,25,22,.2);--accent:#a34a35;--card:#00000006;background:var(--paper);color:var(--ink);transition:none}
body[data-theme] .hero .rv{opacity:1;transform:none;transition:none}
body[data-theme="dark"] main svg{background:#131a1c}
body[data-theme="mist"] main svg{background:#101820}
.studio-project-link{text-decoration:none;color:inherit}
.studio-project-link:hover h3{color:var(--accent)}
.studio-project-link:focus-visible{outline:1px solid var(--accent);outline-offset:4px}
@media(prefers-reduced-motion:reduce){::view-transition-new(root){animation:none}}
