@font-face{font-family:YX Space;src:url('/yuanxin/fonts/SpaceGrotesk-variable.ttf') format('truetype');font-style:normal;font-weight:300 700;font-display:swap}
:root{--yx-paper:#f0f1fa;--yx-ink:#17191f;--yx-dark:#101114;--yx-accent:#2331c9;--yx-muted:#565a70;--yx-stroke:#cbd0e3;--yx-gutter:clamp(20px,5vw,88px)}
.yx-localized{margin:0;background:var(--yx-paper);color:var(--yx-ink);font:400 16px/1.65 "YX Space",Arial,sans-serif}
html[lang=ja] .yx-localized{font-family:"YX Space","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
html[lang=ko] .yx-localized{font-family:"YX Space","Malgun Gothic","Apple SD Gothic Neo",sans-serif}
.yx-localized *{box-sizing:border-box}
.yx-localized [hidden]{display:none!important}
.yx-localized img,.yx-localized video{max-width:100%}
.yx-localized a{color:inherit;text-underline-offset:.2em}
.yx-localized a:hover{color:var(--yx-accent)}
.yx-localized a:focus-visible,.yx-localized button:focus-visible,.yx-localized [tabindex]:focus-visible{outline:2px solid var(--yx-accent);outline-offset:4px}
.yx-localized h1,.yx-localized h2,.yx-localized h3{font-weight:600;letter-spacing:-.034em;line-height:1.14;margin:0 0 .55em;overflow-wrap:break-word}
html[lang=ja] .yx-localized :is(h1,h2,h3),html[lang=ko] .yx-localized :is(h1,h2,h3){letter-spacing:-.02em;line-height:1.26;word-break:keep-all}
.yx-localized p{overflow-wrap:anywhere}
.yx-localized h1{font-size:clamp(42px,6.4vw,98px)}
.yx-localized h2{font-size:clamp(28px,3.7vw,53px)}
.yx-localized h3{font-size:clamp(21px,2.1vw,30px)}
.yx-localized [id]{scroll-margin-top:95px}
.yx-gutter{width:100%;max-width:1720px;margin-inline:auto;padding-inline:var(--yx-gutter)}
.yx-skip{position:fixed;z-index:101;left:18px;top:12px;transform:translateY(-130%);padding:10px 14px;background:#fff}
.yx-skip:focus{transform:none}
.yx-header{position:sticky;top:0;z-index:35;background:var(--yx-paper);border-bottom:1px solid var(--yx-stroke)}
.yx-header-inner{display:flex;gap:clamp(14px,3vw,38px);align-items:center;min-height:74px}
.yx-brand{display:inline-flex;align-items:center;gap:12px;flex:none;color:var(--yx-ink);text-decoration:none;font:650 19px/1 "YX Space",sans-serif;letter-spacing:-.035em}
.yx-brand>span{display:grid;gap:4px}
.yx-brand>span>span{font-weight:600;font-size:9px;letter-spacing:.2em}
.yx-header nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem clamp(12px,2.4vw,32px);margin-inline-start:auto;line-height:1.26}
.yx-header nav a{font-size:.91rem;text-decoration:none;text-wrap:nowrap}
.yx-header [aria-current=page]{text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--yx-accent)}
.yx-locale{position:relative;z-index:90;flex:none;align-self:center;color:inherit;font:inherit;letter-spacing:inherit;text-align:start;box-sizing:border-box}
.yx-locale summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:7px;min-width:40px;min-height:44px;padding:0 9px;border:0;border-radius:100px;background:transparent;color:inherit;font-size:.86rem;font-weight:inherit;cursor:pointer;white-space:nowrap;box-sizing:border-box}
.yx-locale summary::-webkit-details-marker{display:none}
.yx-locale summary:hover,.yx-locale[open] summary{background:#2331c90d;color:#2331c9}
.yx-locale :is(summary,a):focus-visible{outline:2px solid #2331c9;outline-offset:3px}
.yx-locale svg{flex:none;stroke:currentColor;stroke-width:1.5}
.yx-locale ul{position:absolute;z-index:1;inset:calc(100% + 7px) 0 auto auto;width:max-content;min-width:148px;max-width:calc(100vw - 30px);padding:5px;margin:0;list-style:none;background:#f0f1fa;border:1px solid #d7daea;border-radius:14px;box-shadow:0 14px 40px #17191f20;box-sizing:border-box;font-size:13px;line-height:1.25;isolation:isolate}
.yx-locale ul li{margin:0;padding:0;list-style:none;display:block}
.yx-locale ul li a[data-lang-link]{display:flex;gap:18px;justify-content:space-between;align-items:center;text-decoration:none;color:#17191f;padding:0 10px;min-height:40px;border:0;border-radius:8px;white-space:nowrap;font-size:inherit;box-sizing:border-box;background:none}
.yx-locale ul li a[data-lang-link]:hover,.yx-locale ul li a[aria-current=page]{background:#e4e6f7;color:#2331c9;text-decoration:none}
.yx-locale li a[aria-current=page]::after{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
/* The original cinematic homepage has two fixed-size controls inside its tools group. */
#header-right .yx-locale-home{position:absolute;top:0;right:calc(100% + 14px);pointer-events:auto}
#header-right .yx-locale-home summary{width:45px;height:45px;padding:0;color:#2b2e3a;background:#e4e6ef}
#header-right .yx-locale-home summary:hover,#header-right .yx-locale-home[open] summary{color:#2331c9;background:#dce0f5}
#header-right .yx-locale-home .yx-language-name{display:none}
#header-container:has(.yx-locale-home[open]){overflow:visible}
/* Reserve a native nav slot without changing the React-owned header markup. */
body:has(>.yx-locale-next) header[class*="CaseGallery"] nav{padding-inline-end:82px;column-gap:clamp(8px,1.3vw,19px)}
body>.yx-locale-next{position:absolute;top:16px;right:clamp(12px,5vw,88px);z-index:90}
body>.yx-locale-next[data-nav-aligned]{position:fixed;top:var(--yx-nav-top);right:var(--yx-nav-right)}
.reading-header nav:has(.yx-locale-nav){column-gap:clamp(8px,1.3vw,19px)}
@media(max-width:767px){#header-right .yx-locale-home{right:calc(100% + 72px)}
 .yx-locale-nav .yx-language-name,.yx-locale-next .yx-language-name{display:none}
 body:has(>.yx-locale-next) header[class*="CaseGallery"] nav{padding-inline-end:42px;column-gap:8px}
 .yx-locale-nav summary,.yx-locale-next summary{padding:0 3px;min-width:36px}}
@media(max-width:359px){#header-right .yx-locale-home{right:calc(100% + 54px)}#header-right .yx-locale-home summary{width:39px}}
.yx-kicker{font-size:.78rem;font-weight:600;letter-spacing:.1em;color:var(--yx-accent);display:block;margin-bottom:1.2rem}
.yx-hero{position:relative;isolation:isolate;display:grid;align-content:end;min-height:clamp(550px,75vh,820px);background:var(--yx-dark);color:white;overflow:hidden;padding-block:90px max(100px,8vh)}
.yx-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% center;z-index:-2}
.yx-hero:before{content:"";position:absolute;inset:0;background:#10111488;z-index:-1}
.yx-hero .yx-kicker{color:#e4e7ff}
.yx-hero-copy h1{max-width:12ch;text-wrap:balance;margin-bottom:.25em}
html[lang=ja] .yx-hero-copy h1,html[lang=ko] .yx-hero-copy h1{max-width:15ch}
.yx-hero-copy p{max-width:58ch;font-size:clamp(17px,1.6vw,22px);color:#f0f1fa}
.yx-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1.2rem;margin-top:1.75rem}
.yx-actions a:hover,.yx-reel-hint:hover{color:#d7ddff}
.yx-primary{display:inline-flex;align-items:center;justify-content:center;gap:.75rem;padding:11px 16px;border-radius:6px;min-height:44px;background:var(--yx-accent);color:#fff!important;text-decoration:none}
.yx-primary:hover{background:#17247e}
.yx-hero .yx-primary{background:#f0f1fa;color:var(--yx-ink)!important}
.yx-hero .yx-primary:hover{background:#e2e5ff}
.yx-reel-hint{position:absolute;bottom:22px;left:var(--yx-gutter);color:#fff;text-decoration:none;font-size:.9rem}
.yx-reel-hint span{margin-inline-end:.5rem}
.yx-block{padding-block:clamp(50px,7vw,103px)}
.yx-block + .yx-block{border-top:1px solid var(--yx-stroke)}
.yx-section-title{display:flex;justify-content:space-between;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:1.3rem}
.yx-section-title h2{margin:0}
.yx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px clamp(12px,2vw,27px)}
.yx-card{display:block;text-decoration:none;min-width:0}
.yx-card-picture{background:#e0e2f2;border-radius:12px;aspect-ratio:3/2;overflow:hidden}
.yx-card-picture img{width:100%;height:100%;object-fit:cover;transition:transform .28s ease}
.yx-card:hover img{transform:scale(1.025)}
.yx-card>span{display:block;color:var(--yx-muted);font-size:.79rem;margin-top:1rem}
.yx-card h3{display:flex;justify-content:space-between;gap:8px;margin-top:.3rem}
.yx-card h3 b{color:var(--yx-accent);font-weight:400;font-size:1rem}
.yx-card p{font-size:.94rem;margin:.3rem 0;color:var(--yx-muted)}
.yx-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.yx-steps article,.yx-contact-methods section{background:#fff;padding:clamp(20px,3vw,34px);border:1px solid var(--yx-stroke);border-radius:12px}
.yx-steps article>span{color:var(--yx-accent);font-weight:600;font-size:.86rem}
.yx-steps h3{margin-top:10px}
.yx-showreel,.yx-article video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--yx-dark);border-radius:12px}
.yx-media-note{font-size:.86rem;color:var(--yx-muted);margin-top:.5rem}
.yx-split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(22px,5vw,80px)}
.yx-split img{width:100%;height:auto;border-radius:12px}
.yx-guide-list{list-style:none;padding:0;margin:2rem 0 0}
.yx-guide-list li{border-top:1px solid var(--yx-stroke);padding:16px 0}
.yx-guide-list a{display:flex;justify-content:space-between;gap:14px;font-size:clamp(17px,2vw,24px);font-weight:600}
.yx-guide-list p{max-width:78ch;margin:.5rem 0}
.yx-page-intro{padding-block:clamp(55px,8vw,115px) clamp(28px,4vw,48px);max-width:1100px}
.yx-page-intro p,.yx-contact>p{max-width:65ch;font-size:clamp(17px,1.8vw,23px)}
.yx-portfolio{padding-bottom:clamp(58px,8vw,120px)}
.yx-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px}
.yx-filters button,.yx-pano-links a,.yx-case [data-colour-clip]{font:inherit;font-size:.94rem;line-height:1.3;color:inherit;padding:9px 13px;background:transparent;border:1px solid var(--yx-stroke);min-height:40px;border-radius:6px;cursor:pointer}
.yx-filters [aria-pressed=true],.yx-pano-links [aria-current],.yx-case [data-colour-clip][aria-current]{background:var(--yx-accent);color:#fff;border-color:var(--yx-accent)}
.yx-contact-methods{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:36px 0}
.yx-contact-methods img{display:block;padding:8px;background:white;border:1px solid var(--yx-stroke);width:min(168px,100%);height:auto}
.yx-site-footer{border-top:1px solid var(--yx-stroke);background:#e2e6f5}
.yx-footer-inner{padding-block:38px;display:flex;align-items:start;gap:20px;justify-content:space-between;flex-wrap:wrap;font-size:.86rem}
.yx-footer-inner p{margin:0 0 .4rem}
.yx-article{padding-block:clamp(42px,6vw,90px)}
.yx-article [data-shape=back]{display:inline-block;margin-bottom:1.5rem;color:var(--yx-accent)}
.yx-reading .reading-breadcrumb{display:flex;gap:8px;flex-wrap:wrap;color:var(--yx-muted);font-size:.81rem;margin-bottom:1rem}
.yx-reading .reading-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(22px,4vw,60px);align-items:start;padding-block:25px 54px}
.yx-reading h1,.yx-case h1{font-size:clamp(38px,5.4vw,82px)}
.yx-reading .reading-deck,.yx-case [data-shape=detail-intro] p{font-size:clamp(17px,1.7vw,22px)}
.yx-reading .reading-hero figure,.yx-case figure{margin:0}
.yx-reading figure img,.yx-case figure img{display:block;width:100%;object-fit:contain;height:auto;border-radius:12px}
.yx-reading figcaption,.yx-case figcaption{margin-top:.6rem;color:var(--yx-muted);font-size:.83rem}
.yx-reading .hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:1.5rem}
.yx-reading .hero-actions .primary-action{font-weight:600;color:var(--yx-accent)}
.yx-reading .reading-layout{display:grid;grid-template-columns:minmax(160px,240px) minmax(0,1fr);gap:clamp(16px,5vw,64px)}
.yx-reading .reading-toc{position:sticky;top:95px;align-self:start;border-top:2px solid var(--yx-accent);padding-top:10px;font-size:.88rem}
.yx-reading .reading-toc nav{display:grid;gap:7px}
.yx-reading .reading-section{border-top:1px solid var(--yx-stroke);padding:32px 0}
.yx-reading .reading-section>:is(p,ul,ol,dl){max-width:88ch}
.yx-reading .case-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:1.4rem 0}
.yx-reading .case-link{display:block;text-decoration:none}
.yx-reading .case-link img{display:block;width:100%;height:auto;object-fit:cover;aspect-ratio:16/9;border-radius:12px;margin-bottom:.7rem}
.yx-reading .case-link span{font-size:.82rem;color:var(--yx-muted)}
.yx-reading .case-link h3{font-size:1.18rem}
.yx-reading .case-link p{font-size:.93rem}
.yx-reading .table-wrap,.yx-article .table-wrap{overflow-x:auto}
.yx-article table{width:100%;border-collapse:collapse;margin:1.15rem 0}
.yx-article :is(th,td){border-bottom:1px solid var(--yx-stroke);padding:.75em .65em;text-align:left;vertical-align:top;min-width:6ch}
.yx-article th{font-weight:600;background:#e3e7f9}
.yx-article dt{font-weight:600;margin:1rem 0 .4rem}
.yx-article dd{margin:0 0 1rem}
.yx-case>section,.yx-case>figure{margin:0 0 clamp(26px,4vw,66px)}
.yx-case>section:not([data-shape]){border-top:1px solid var(--yx-stroke);padding-top:22px}
.yx-case [data-shape=detail-intro]{max-width:1250px}
.yx-case [data-shape=detail-intro] ul{display:flex;flex-wrap:wrap;gap:10px;padding:0;list-style:none}
.yx-case [data-shape=detail-intro] li{border:1px solid var(--yx-stroke);padding:4px 9px;border-radius:5px}
.yx-case [data-shape=hero-image] img{max-height:80vh;background:#e1e4f3}
.yx-case [data-shape=stills]>div:has(>figure){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.yx-case [data-shape=stills] figure{display:grid;align-content:start}
.yx-full-image{display:block}
.yx-full-image:hover img{outline:2px solid var(--yx-accent);outline-offset:-2px}
.yx-case [data-colour-clip]{display:inline-flex;align-items:center;margin:0 5px 7px 0;text-decoration:none}
.yx-case>a:last-child:not([data-shape]){display:flex;gap:.85rem;align-items:baseline;border-top:1px solid var(--yx-stroke);padding-top:1rem}
.yx-pano-viewport{aspect-ratio:16/9;position:relative;overflow:hidden;background:#d4d8e7;border-radius:12px;touch-action:pan-y}
.yx-pano-viewport img,.yx-pano-viewport canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.yx-pano-viewport canvas{cursor:grab}
.yx-pano-viewport canvas:active{cursor:grabbing}
.yx-pano-links{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.yx-pano-links a{text-decoration:none}
@media(max-width:900px){.yx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yx-reading .reading-hero{grid-template-columns:1fr}.yx-reading .reading-hero img{max-height:420px;object-fit:cover}.yx-reading .reading-layout{grid-template-columns:1fr}.yx-reading .reading-toc{position:static}.yx-reading .reading-toc nav{display:flex;flex-wrap:wrap;gap:10px 18px}.yx-reading .reading-toc .page-meta{display:none}}
@media(max-width:600px){.yx-header-inner{gap:8px 11px;min-height:58px;padding-top:9px;padding-bottom:8px;flex-wrap:wrap}.yx-header .yx-brand{gap:7px;font-size:16px}.yx-header .yx-brand img{width:29px;height:29px}.yx-header .yx-brand>span>span{font-size:8px}.yx-header nav{order:3;width:100%;justify-content:space-between;margin:0;gap:5px}.yx-header nav a{font-size:.84rem;white-space:normal;text-wrap:balance}.yx-header .yx-locale{margin-inline-start:auto}.yx-locale-zh{inset:12px 66px auto auto}.yx-locale summary{gap:6px;padding:7px 8px;min-height:37px}.yx-hero{min-height:clamp(510px,71vh,700px);padding-block:70px 90px}.yx-hero-image{object-position:68% center}.yx-grid,.yx-steps,.yx-split,.yx-contact-methods,.yx-reading .case-evidence{grid-template-columns:1fr}.yx-card h3{font-size:1.36rem}.yx-case [data-shape=stills]>div:has(>figure){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:340px){.yx-header nav a{font-size:.77rem}.yx-localized h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.yx-card-picture img{transition:none!important}}
/* Keep Japanese line breaking fluid and prevent a long label from sizing a grid track. */
html[lang=ja] .yx-localized :is(h1,h2,h3){word-break:normal}
.yx-localized :is(h1,h2,h3){overflow-wrap:anywhere}
.yx-split,.yx-reading .reading-hero{min-width:0}
.yx-split>*{min-width:0}
.yx-hero-image{inset:0 0 0 auto;width:58%;object-position:55% center}
.yx-hero:before{inset:0 0 0 auto;width:58%;background:#10111435}
.yx-hero-copy{padding-right:max(32vw,var(--yx-gutter))}
.yx-hero-copy p{max-width:40ch}
@media(max-width:800px){.yx-split{grid-template-columns:minmax(0,1fr)}.yx-hero-image,.yx-hero:before{width:100%}.yx-hero:before{background:#10111496}.yx-hero-copy{padding-right:var(--yx-gutter)}}
@media(max-width:600px){.yx-grid,.yx-steps,.yx-contact-methods,.yx-reading .case-evidence,.yx-reading .reading-hero,.yx-reading .reading-layout{grid-template-columns:minmax(0,1fr)}}
