*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#F6F7FB;color:#1E2030;font-family:'Noto Sans TC','PingFang TC',sans-serif}a{color:inherit;text-decoration:none}.en{font-family:'Libre Baskerville','Noto Serif TC',serif}.mobile{display:none}.nav a:hover{color:#1E2030}.card:hover .arrow{transform:translate(3px,-3px)}.card .arrow{display:inline-block;transition:transform .2s}.cta:hover{background:#34365A!important}.ul:hover{border-bottom-color:#1E2030!important}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #5B5E7C;outline-offset:5px}section{scroll-margin-top:20px}dialog{border:0;background:#F6F7FB;color:#1E2030;width:520px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:56px 56px 48px;overflow:auto}dialog::backdrop{background:rgba(30,32,48,.48)}dialog h2{margin:0;font-family:'Noto Serif TC',serif;font-weight:600;font-size:24px;line-height:1.6}.close{position:absolute;top:12px;right:16px;border:0;background:none;color:#5B5E7C;font-size:28px;width:40px;height:40px;cursor:pointer}.fields{margin-top:36px;display:flex;flex-direction:column;gap:22px}label{display:block;font-size:13px;color:#6B6E86;letter-spacing:.06em;margin-bottom:8px}input,textarea{width:100%;border:0;border-bottom:1px solid #C9CEDE;background:transparent;padding:8px 0;font:16px/1.6 'Noto Sans TC',sans-serif;color:#1E2030;border-radius:0}textarea{resize:vertical}.submit{margin-top:34px;background:#1E2030;color:#fff;border:0;font-family:inherit;font-size:14px;letter-spacing:.12em;padding:15px 34px;border-radius:2px;cursor:pointer}.submit:disabled{opacity:.6;cursor:wait}#form-status{margin:36px 0 0;padding-top:20px;border-top:1px solid #DDE1EE;font-family:'Noto Serif TC',serif;font-size:17px;line-height:1.8}body.modal-open{overflow:hidden}
@media(min-width:768px) and (max-width:1199px){.desktop .container{padding-left:48px!important;padding-right:48px!important}.desktop .nav{padding-left:48px!important;padding-right:48px!important}.desktop .hero-copy{left:48px!important;width:480px!important}.desktop h1{font-size:44px!important}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.desktop .origin>div>div{font-size:28px!important}.desktop .card>div:nth-child(2){padding:24px!important}.desktop .services>div,.desktop .about>div{gap:48px!important}}
@media(max-width:767px){.desktop{display:none}.mobile{display:block}dialog{padding:48px 24px 32px}dialog h2{font-size:22px}input,textarea{font-size:16px}.mobile h1{font-size:clamp(26px,8.2vw,32px)!important}.mobile .origin>div{font-size:clamp(19px,5.9vw,23px)!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card .arrow{transition:none}}
#inquiry .fields[hidden],#inquiry .submit[hidden]{display:none}
/* Selected Works: restore the approved grid and consistent card proportions. */
@media(min-width:768px){
 .desktop #works .works-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:36px 28px;align-items:start}
 .desktop #works .works-grid>.card{min-width:0;grid-column:auto;grid-row:auto;align-self:stretch}
 .desktop #works .works-grid>.card>div:first-child{height:auto!important;aspect-ratio:4/3!important}
 .desktop #works .works-grid>.card>div:nth-child(2){padding:28px 28px 24px!important}
 .desktop #works .works-grid>.card:nth-child(4)>div:first-child img{object-fit:contain!important}
}
@media(min-width:1024px){
 .desktop #works .works-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .desktop #works .works-grid>.card:nth-child(4){grid-column:1;grid-row:2}
}

@media(min-width:768px){.desktop #works .works-grid>.card:nth-child(n+5)>div:first-child{aspect-ratio:4/5!important}}

/* Hero typography only. */
#hero .hero-name,#hero-mobile .hero-name{font-family:'Noto Serif TC',serif;font-size:13px;line-height:1.5;letter-spacing:.5em;color:#6B6E86;margin-bottom:8px}
#hero .hero-rule,#hero-mobile .hero-rule{width:32px;height:1px;background:#8B8EA8;margin-top:14px;margin-bottom:14px}
#hero .hero-subtitle,#hero-mobile .hero-subtitle{margin:0;color:#6B6E86;font-size:15px;line-height:1.8;letter-spacing:.18em;font-weight:300}
#hero .hero-subtitle span,#hero-mobile .hero-subtitle span{display:inline-block;white-space:nowrap}
#hero .hero-menu{position:relative;z-index:0}
#hero .hero-menu::before{content:"";position:absolute;inset:-28px -44px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse,rgba(255,255,255,.68) 0%,rgba(255,255,255,.32) 48%,rgba(255,255,255,0) 74%)}
#hero-mobile .hero-name{font-size:12px;margin-bottom:6px}
#hero-mobile .hero-rule{margin-top:12px;margin-bottom:12px}
#hero-mobile .hero-subtitle{font-size:13px}
